home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •Star Fleet HQ• / Stellar Imperium ••• / Stellar Imperium Instructions / Stellar Imperium Instructions.rsrc / CODE_1.txt < prev    next >
Text File  |  1989-12-17  |  182KB  |  3,212 lines

  1. # near model CODE resource
  2. # jump table entries: 0-0 (1 of them)
  3. export_0:
  4. 00000000  4EFA 1052                jmp        [PC + 0x1052 /* 00001054 */]
  5. fn00000004:
  6. 00000004  4E56 FF00                link       A6, -0x0100
  7. 00000008  48E7 0118                movem.l    -[A7], D7,A3,A4
  8. 0000000C  286E 0008                movea.l    A4, [A6 + 0x8]
  9. 00000010  47EE FF00                lea.l      A3, [A6 - 0x100]
  10. 00000014  3E3C 00FF                move.w     D7, 0xFF
  11. label00000018:
  12. 00000018  16DC                     move.b     [A3]+, [A4]+
  13. 0000001A  51CF FFFC                dbf        D7, -0x6 /* 00000018 */
  14. 0000001E  3F3C 0005                move.w     -[A7], 0x5
  15. 00000022  A9C8                     syscall    SysBeep
  16. 00000024  598F                     subq.l     A7, 4
  17. 00000026  3F3C 0101                move.w     -[A7], 0x101
  18. 0000002A  42A7                     clr.l      -[A7]
  19. 0000002C  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  20. 00000032  A97C                     syscall    GetNewDialog
  21. 00000034  2E1F                     move.l     D7, [A7]+
  22. 00000036  2B47 FFF6                move.l     [A5 - 0xA], D7
  23. 0000003A  2F2D FFF6                move.l     -[A7], [A5 - 0xA]
  24. 0000003E  A873                     syscall    SetPort
  25. 00000040  486E FF00                pea.l      [A6 - 0x100]
  26. 00000044  487A 0028                pea.l      [PC + 0x28 /* 0000006E, value 0x4E56 'NV', cstring "" */]
  27. 00000048  487A 0022                pea.l      [PC + 0x22 /* 0000006C, value 0x0, cstring "" */]
  28. 0000004C  487A 001C                pea.l      [PC + 0x1C /* 0000006A, value 0x0, cstring "" */]
  29. 00000050  A98B                     syscall    ParamText
  30. 00000052  42A7                     clr.l      -[A7]
  31. 00000054  486D FFFA                pea.l      [A5 - 0x6]
  32. 00000058  A991                     syscall    ModalDialog
  33. 0000005A  2F2D FFF6                move.l     -[A7], [A5 - 0xA]
  34. 0000005E  A983                     syscall    DisposeDialog
  35. 00000060  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  36. 00000064  4E5E                     unlink     A6
  37. 00000066  2E9F                     move.l     [A7], [A7]+
  38. 00000068  4E75                     rts
  39. 0000006A  0000 0000                ori.b      D0, 0x0
  40. 0000006E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  41. // begin alternate branch 00000070-00000074
  42. fn00000070:
  43. 00000070  4E56 FFFE                link       A6, -0x0002
  44. // end alternate branch 00000070-00000074
  45. fn00000070: // (misaligned)
  46. 00000072  FFFE                     .invalid   <<F/7/7>>
  47. 00000074  48E7 0100                movem.l    -[A7], D7
  48. 00000078  558F                     subq.l     A7, 2
  49. 0000007A  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  50. 0000007E  4EBA 13AE                jsr        [PC + 0x13AE /* 0000142E */]
  51. 00000082  1E1F                     move.b     D7, [A7]+
  52. 00000084  1D47 FFFE                move.b     [A6 - 0x2], D7
  53. 00000088  558F                     subq.l     A7, 2
  54. 0000008A  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  55. 0000008E  4EBA 1376                jsr        [PC + 0x1376 /* 00001406 */]
  56. 00000092  1E1F                     move.b     D7, [A7]+
  57. 00000094  1D47 FFFE                move.b     [A6 - 0x2], D7
  58. 00000098  4CDF 0080                movem.l    D7, [A7]+
  59. 0000009C  4E5E                     unlink     A6
  60. 0000009E  4E75                     rts
  61. fn000000A0:
  62. 000000A0  4E56 FEE0                link       A6, -0x0120
  63. 000000A4  48E7 0FF8                movem.l    -[A7], D4,D5,D6,D7,A0,A1,A2,A3,A4
  64. 000000A8  4A2D FFF4                tst.b      [A5 - 0xC]
  65. 000000AC  6700 0342                beq        +0x344 /* 000003F0 */
  66. 000000B0  558F                     subq.l     A7, 2
  67. 000000B2  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  68. 000000B6  4EBA 1356                jsr        [PC + 0x1356 /* 0000140E */]
  69. 000000BA  1E1F                     move.b     D7, [A7]+
  70. 000000BC  1D47 FFB0                move.b     [A6 - 0x50], D7
  71. 000000C0  4A2E FFB0                tst.b      [A6 - 0x50]
  72. 000000C4  6700 032A                beq        +0x32C /* 000003F0 */
  73. 000000C8  486D FF2A                pea.l      [A5 - 0xD6]
  74. 000000CC  A851                     syscall    SetCursor
  75. 000000CE  598F                     subq.l     A7, 4
  76. 000000D0  286D FE16                movea.l    A4, [A5 - 0x1EA]
  77. 000000D4  2854                     movea.l    A4, [A4]
  78. 000000D6  3E2C 003C                move.w     D7, [A4 + 0x3C]
  79. 000000DA  48C7                     ext.l      D7
  80. 000000DC  0687 0000 3E80           addi.l     D7, 0x3E80
  81. 000000E2  2F07                     move.l     -[A7], D7
  82. 000000E4  4EBA 113A                jsr        [PC + 0x113A /* 00001220 */]
  83. 000000E8  2E1F                     move.l     D7, [A7]+
  84. 000000EA  2D47 FFF8                move.l     [A6 - 0x8], D7
  85. 000000EE  4AAE FFF8                tst.l      [A6 - 0x8]
  86. 000000F2  6600 001E                bne        +0x20 /* 00000112 */
  87. 000000F6  486D FD9E                pea.l      [A5 - 0x262]
  88. 000000FA  A851                     syscall    SetCursor
  89. 000000FC  487A 02FA                pea.l      [PC + 0x2FA /* 000003F8, value 0x33206765 '3 ge', pstring " get enough memory.  You will not be able to print." */]
  90. 00000100  4EBA FF02                jsr        [PC - 0xFE /* 00000004 */]
  91. 00000104  3F3C 0005                move.w     -[A7], 0x5
  92. 00000108  A9C8                     syscall    SysBeep
  93. 0000010A  4EFA 02E4                jmp        [PC + 0x2E4 /* 000003F0 */]
  94. 0000010E  4EFA 0048                jmp        [PC + 0x48 /* 00000158 */]
  95. label00000112:
  96. 00000112  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  97. 00000116  4EBA 1114                jsr        [PC + 0x1114 /* 0000122C */]
  98. 0000011A  2D6D FE16 FEE6           move.l     [A6 - 0x11A], [A5 - 0x1EA]
  99. 00000120  558F                     subq.l     A7, 2
  100. 00000122  486E FEE6                pea.l      [A6 - 0x11A]
  101. 00000126  4EBA 1250                jsr        [PC + 0x1250 /* 00001378 */]
  102. 0000012A  3E1F                     move.w     D7, [A7]+
  103. 0000012C  3D47 FFF0                move.w     [A6 - 0x10], D7
  104. 00000130  286D FE16                movea.l    A4, [A5 - 0x1EA]
  105. 00000134  2854                     movea.l    A4, [A4]
  106. 00000136  2D6C 003E FFF8           move.l     [A6 - 0x8], [A4 + 0x3E]
  107. 0000013C  558F                     subq.l     A7, 2
  108. 0000013E  486E FFF8                pea.l      [A6 - 0x8]
  109. 00000142  4EBA 1234                jsr        [PC + 0x1234 /* 00001378 */]
  110. 00000146  3E1F                     move.w     D7, [A7]+
  111. 00000148  3D47 FFF0                move.w     [A6 - 0x10], D7
  112. 0000014C  286E FEE6                movea.l    A4, [A6 - 0x11A]
  113. 00000150  2854                     movea.l    A4, [A4]
  114. 00000152  296E FFF8 003E           move.l     [A4 + 0x3E], [A6 - 0x8]
  115. label00000158:
  116. 00000158  598F                     subq.l     A7, 4
  117. 0000015A  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  118. 0000015E  42A7                     clr.l      -[A7]
  119. 00000160  42A7                     clr.l      -[A7]
  120. 00000162  4EBA 124A                jsr        [PC + 0x124A /* 000013AE */]
  121. 00000166  2E1F                     move.l     D7, [A7]+
  122. 00000168  2D47 FFFC                move.l     [A6 - 0x4], D7
  123. 0000016C  286E FEE6                movea.l    A4, [A6 - 0x11A]
  124. 00000170  2854                     movea.l    A4, [A4]
  125. 00000172  266D FF22                movea.l    A3, [A5 - 0xDE]
  126. 00000176  2653                     movea.l    A3, [A3]
  127. 00000178  2D6B 0008 FFDC           move.l     [A6 - 0x24], [A3 + 0x8]
  128. 0000017E  2D6B 000C FFE0           move.l     [A6 - 0x20], [A3 + 0xC]
  129. 00000184  3E2E FFDE                move.w     D7, [A6 - 0x22]
  130. 00000188  0647 001E                addi.w     D7, 0x1E
  131. 0000018C  3D47 FFDE                move.w     [A6 - 0x22], D7
  132. 00000190  3E2E FFE2                move.w     D7, [A6 - 0x1E]
  133. 00000194  0447 000A                subi.w     D7, 0xA /* '\n' */
  134. 00000198  3D47 FFE2                move.w     [A6 - 0x1E], D7
  135. 0000019C  3E2E FFE0                move.w     D7, [A6 - 0x20]
  136. 000001A0  0447 0014                subi.w     D7, 0x14
  137. 000001A4  3C2E FFE0                move.w     D6, [A6 - 0x20]
  138. 000001A8  0446 0014                subi.w     D6, 0x14
  139. 000001AC  48C6                     ext.l      D6
  140. 000001AE  8DEC 0018                divs.w     D6, [A4 + 0x18]
  141. 000001B2  4846                     swap.w     D6
  142. 000001B4  9E46                     sub.w      D7, D6
  143. 000001B6  3D47 FFE0                move.w     [A6 - 0x20], D7
  144. 000001BA  2D54 FFCC                move.l     [A6 - 0x34], [A4]
  145. 000001BE  2D6C 0004 FFD0           move.l     [A6 - 0x30], [A4 + 0x4]
  146. 000001C4  28AE FFDC                move.l     [A4], [A6 - 0x24]
  147. 000001C8  296E FFE0 0004           move.l     [A4 + 0x4], [A6 - 0x20]
  148. 000001CE  2F2E FEE6                move.l     -[A7], [A6 - 0x11A]
  149. 000001D2  A9D0                     syscall    TECalText
  150. 000001D4  286E FEE6                movea.l    A4, [A6 - 0x11A]
  151. 000001D8  2854                     movea.l    A4, [A4]
  152. 000001DA  266D FF22                movea.l    A3, [A5 - 0xDE]
  153. 000001DE  2653                     movea.l    A3, [A3]
  154. 000001E0  2D6C 0008 FFD4           move.l     [A6 - 0x2C], [A4 + 0x8]
  155. 000001E6  2D6C 000C FFD8           move.l     [A6 - 0x28], [A4 + 0xC]
  156. 000001EC  3E2B 000C                move.w     D7, [A3 + 0xC]
  157. 000001F0  9E6B 0008                sub.w      D7, [A3 + 0x8]
  158. 000001F4  0447 0014                subi.w     D7, 0x14
  159. 000001F8  48C7                     ext.l      D7
  160. 000001FA  8FEC 0018                divs.w     D7, [A4 + 0x18]
  161. 000001FE  3D47 FFE4                move.w     [A6 - 0x1C], D7
  162. 00000202  3D6C 005E FFE8           move.w     [A6 - 0x18], [A4 + 0x5E]
  163. 00000208  426E FFE6                clr.w      [A6 - 0x1A]
  164. 0000020C  3D7C 0001 FFEA           move.w     [A6 - 0x16], 0x1
  165. label00000212:
  166. 00000212  3E2E FFE6                move.w     D7, [A6 - 0x1A]
  167. 00000216  BE6E FFE8                cmp.w      D7, [A6 - 0x18]
  168. 0000021A  6C00 0082                bge        +0x84 /* 0000029E */
  169. 0000021E  3E2E FFE8                move.w     D7, [A6 - 0x18]
  170. 00000222  9E6E FFE6                sub.w      D7, [A6 - 0x1A]
  171. 00000226  BE6E FFE4                cmp.w      D7, [A6 - 0x1C]
  172. 0000022A  6F00 0036                ble        +0x38 /* 00000262 */
  173. 0000022E  3E2E FFEA                move.w     D7, [A6 - 0x16]
  174. 00000232  5347                     subq.w     D7, 1
  175. 00000234  DE47                     add.w      D7, D7
  176. 00000236  45EE FEEA                lea.l      A2, [A6 - 0x116]
  177. 0000023A  3C2E FFE6                move.w     D6, [A6 - 0x1A]
  178. 0000023E  DC6E FFE4                add.w      D6, [A6 - 0x1C]
  179. 00000242  DC46                     add.w      D6, D6
  180. 00000244  43EC 0060                lea.l      A1, [A4 + 0x60]
  181. 00000248  3A2E FFE6                move.w     D5, [A6 - 0x1A]
  182. 0000024C  DA45                     add.w      D5, D5
  183. 0000024E  41EC 0060                lea.l      A0, [A4 + 0x60]
  184. 00000252  3831 6000                move.w     D4, [A1 + D6.w]
  185. 00000256  9870 5000                sub.w      D4, [A0 + D5.w]
  186. 0000025A  3584 7000                move.w     [A2 + D7.w], D4
  187. 0000025E  4EFA 0024                jmp        [PC + 0x24 /* 00000284 */]
  188. label00000262:
  189. 00000262  3E2E FFEA                move.w     D7, [A6 - 0x16]
  190. 00000266  5347                     subq.w     D7, 1
  191. 00000268  DE47                     add.w      D7, D7
  192. 0000026A  45EE FEEA                lea.l      A2, [A6 - 0x116]
  193. 0000026E  3C2E FFE6                move.w     D6, [A6 - 0x1A]
  194. 00000272  DC46                     add.w      D6, D6
  195. 00000274  43EC 0060                lea.l      A1, [A4 + 0x60]
  196. 00000278  3A2C 003C                move.w     D5, [A4 + 0x3C]
  197. 0000027C  9A71 6000                sub.w      D5, [A1 + D6.w]
  198. 00000280  3585 7000                move.w     [A2 + D7.w], D5
  199. label00000284:
  200. 00000284  3E2E FFE6                move.w     D7, [A6 - 0x1A]
  201. 00000288  DE6E FFE4                add.w      D7, [A6 - 0x1C]
  202. 0000028C  3D47 FFE6                move.w     [A6 - 0x1A], D7
  203. 00000290  3E2E FFEA                move.w     D7, [A6 - 0x16]
  204. 00000294  5247                     addq.w     D7, 1
  205. 00000296  3D47 FFEA                move.w     [A6 - 0x16], D7
  206. 0000029A  4EFA FF76                jmp        [PC - 0x8A /* 00000212 */]
  207. label0000029E:
  208. 0000029E  3E2E FFEA                move.w     D7, [A6 - 0x16]
  209. 000002A2  5347                     subq.w     D7, 1
  210. 000002A4  3D47 FFF2                move.w     [A6 - 0xE], D7
  211. 000002A8  28AE FFCC                move.l     [A4], [A6 - 0x34]
  212. 000002AC  296E FFD0 0004           move.l     [A4 + 0x4], [A6 - 0x30]
  213. 000002B2  2F2E FEE6                move.l     -[A7], [A6 - 0x11A]
  214. 000002B6  A9D0                     syscall    TECalText
  215. 000002B8  286D FF22                movea.l    A4, [A5 - 0xDE]
  216. 000002BC  2854                     movea.l    A4, [A4]
  217. 000002BE  1E2C 0044                move.b     D7, [A4 + 0x44]
  218. 000002C2  4887                     ext.w      D7
  219. 000002C4  0C47 0001                cmpi.w     D7, 0x1
  220. 000002C8  6600 000C                bne        +0xE /* 000002D6 */
  221. 000002CC  3D7C 0001 FFEE           move.w     [A6 - 0x12], 0x1
  222. 000002D2  4EFA 000E                jmp        [PC + 0xE /* 000002E2 */]
  223. label000002D6:
  224. 000002D6  286D FF22                movea.l    A4, [A5 - 0xDE]
  225. 000002DA  2854                     movea.l    A4, [A4]
  226. 000002DC  3D6C 0042 FFEE           move.w     [A6 - 0x12], [A4 + 0x42]
  227. label000002E2:
  228. 000002E2  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  229. 000002E6  A873                     syscall    SetPort
  230. 000002E8  3F3C 0003                move.w     -[A7], 0x3
  231. 000002EC  A887                     syscall    TextFont
  232. 000002EE  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  233. 000002F2  A88A                     syscall    TextSize
  234. 000002F4  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  235. 000002F8  A883                     syscall    DrawChar
  236. 000002FA  1F3C 0001                move.b     -[A7], 0x1
  237. 000002FE  A903                     syscall    SetFontLock
  238. 00000300  3E3C 0001                move.w     D7, 0x1
  239. 00000304  BE6E FFEE                cmp.w      D7, [A6 - 0x12]
  240. 00000308  6E00 00A2                bgt        +0xA4 /* 000003AC */
  241. 0000030C  3D6E FFEE FEE2           move.w     [A6 - 0x11E], [A6 - 0x12]
  242. label00000312:
  243. 00000312  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  244. 00000316  4EBA 0F1E                jsr        [PC + 0xF1E /* 00001236 */]
  245. 0000031A  286E FFF8                movea.l    A4, [A6 - 0x8]
  246. 0000031E  2D54 FFF4                move.l     [A6 - 0xC], [A4]
  247. 00000322  3C3C 0001                move.w     D6, 0x1
  248. 00000326  BC6E FFF2                cmp.w      D6, [A6 - 0xE]
  249. 0000032A  6E00 006A                bgt        +0x6C /* 00000396 */
  250. 0000032E  3D6E FFF2 FEE0           move.w     [A6 - 0x120], [A6 - 0xE]
  251. label00000334:
  252. 00000334  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  253. 00000338  42A7                     clr.l      -[A7]
  254. 0000033A  4EBA 1098                jsr        [PC + 0x1098 /* 000013D4 */]
  255. 0000033E  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  256. 00000342  3A06                     move.w     D5, D6
  257. 00000344  5345                     subq.w     D5, 1
  258. 00000346  DA45                     add.w      D5, D5
  259. 00000348  49EE FEEA                lea.l      A4, [A6 - 0x116]
  260. 0000034C  3834 5000                move.w     D4, [A4 + D5.w]
  261. 00000350  48C4                     ext.l      D4
  262. 00000352  2F04                     move.l     -[A7], D4
  263. 00000354  486E FFDC                pea.l      [A6 - 0x24]
  264. 00000358  4267                     clr.w      -[A7]
  265. 0000035A  A9CE                     syscall    TETextBox/TextBox
  266. 0000035C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  267. 00000360  4EBA 107A                jsr        [PC + 0x107A /* 000013DC */]
  268. 00000364  3A06                     move.w     D5, D6
  269. 00000366  5345                     subq.w     D5, 1
  270. 00000368  DA45                     add.w      D5, D5
  271. 0000036A  49EE FEEA                lea.l      A4, [A6 - 0x116]
  272. 0000036E  3834 5000                move.w     D4, [A4 + D5.w]
  273. 00000372  48C4                     ext.l      D4
  274. 00000374  D8AE FFF4                add.l      D4, [A6 - 0xC]
  275. 00000378  2D44 FFF4                move.l     [A6 - 0xC], D4
  276. 0000037C  3A2E FFE6                move.w     D5, [A6 - 0x1A]
  277. 00000380  DA6E FFE4                add.w      D5, [A6 - 0x1C]
  278. 00000384  3D45 FFE6                move.w     [A6 - 0x1A], D5
  279. 00000388  BC6E FEE0                cmp.w      D6, [A6 - 0x120]
  280. 0000038C  6C00 0008                bge        +0xA /* 00000396 */
  281. 00000390  5246                     addq.w     D6, 1
  282. 00000392  4EFA FFA0                jmp        [PC - 0x60 /* 00000334 */]
  283. label00000396:
  284. 00000396  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  285. 0000039A  4EBA 0EA4                jsr        [PC + 0xEA4 /* 00001240 */]
  286. 0000039E  BE6E FEE2                cmp.w      D7, [A6 - 0x11E]
  287. 000003A2  6C00 0008                bge        +0xA /* 000003AC */
  288. 000003A6  5247                     addq.w     D7, 1
  289. 000003A8  4EFA FF68                jmp        [PC - 0x98 /* 00000312 */]
  290. label000003AC:
  291. 000003AC  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  292. 000003B0  4EBA 101A                jsr        [PC + 0x101A /* 000013CC */]
  293. 000003B4  286D FF22                movea.l    A4, [A5 - 0xDE]
  294. 000003B8  2854                     movea.l    A4, [A4]
  295. 000003BA  1E2C 0044                move.b     D7, [A4 + 0x44]
  296. 000003BE  4887                     ext.w      D7
  297. 000003C0  0C47 0001                cmpi.w     D7, 0x1
  298. 000003C4  6600 0014                bne        +0x16 /* 000003DA */
  299. 000003C8  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  300. 000003CC  42A7                     clr.l      -[A7]
  301. 000003CE  42A7                     clr.l      -[A7]
  302. 000003D0  42A7                     clr.l      -[A7]
  303. 000003D2  486E FFB2                pea.l      [A6 - 0x4E]
  304. 000003D6  4EBA 1068                jsr        [PC + 0x1068 /* 00001440 */]
  305. label000003DA:
  306. 000003DA  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  307. 000003DE  4EBA 0E4C                jsr        [PC + 0xE4C /* 0000122C */]
  308. 000003E2  2F2E FEE6                move.l     -[A7], [A6 - 0x11A]
  309. 000003E6  4EBA 0E44                jsr        [PC + 0xE44 /* 0000122C */]
  310. 000003EA  486D FD9E                pea.l      [A5 - 0x262]
  311. 000003EE  A851                     syscall    SetCursor
  312. label000003F0:
  313. 000003F0  4CDF 1FF0                movem.l    D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
  314. 000003F4  4E5E                     unlink     A6
  315. 000003F6  4E75                     rts
  316. 000003F8  3320                     move.w     -[A1], -[A0]
  317. 000003FA  6765                     beq        +0x67 /* 00000461 */
  318. 000003FC  7420                     moveq.l    D2, 0x20
  319. 000003FE  656E                     bcs        +0x70 /* 0000046E */
  320. 00000400  6F75                     ble        +0x77 /* 00000477 */
  321. 00000402  6768                     beq        +0x6A /* 0000046C */
  322. 00000404  206D 656D                movea.l    A0, [A5 + 0x656D]
  323. 00000408  6F72                     ble        +0x74 /* 0000047C */
  324. 0000040A  792E                     moveq.l    D4, 0x2E
  325. 0000040C  2020                     move.l     D0, -[A0]
  326. 0000040E  596F 7520                subq.w     [A7 + 0x7520], 4
  327. 00000412  7769                     moveq.l    D3, 0x69
  328. 00000414  6C6C                     bge        +0x6E /* 00000482 */
  329. 00000416  206E 6F74                movea.l    A0, [A6 + 0x6F74]
  330. 0000041A  2062                     movea.l    A0, -[A2]
  331. 0000041C  6520                     bcs        +0x22 /* 0000043E */
  332. 0000041E  6162                     bsr        +0x64 /* 00000482 */
  333. 00000420  6C65                     bge        +0x67 /* 00000487 */
  334. 00000422  2074 6F20 7072           movea.l    A0, [A4 + 0x7072 + D6 * 8]
  335. 00000428  696E                     bvs        +0x70 /* 00000498 */
  336. 0000042A  742E                     moveq.l    D2, 0x2E
  337. 0000042C  4E56 0000                link       A6, 0
  338. 00000430  48E7 0100                movem.l    -[A7], D7
  339. 00000434  2F2D FE16                move.l     -[A7], [A5 - 0x1EA]
  340. 00000438  A9CD                     syscall    TEDispose
  341. 0000043A  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  342. label0000043E:
  343. 0000043E  A955                     syscall    DisposeControl
  344. 00000440  2F2D FE12                move.l     -[A7], [A5 - 0x1EE]
  345. 00000444  A92D                     syscall    CloseWindow
  346. 00000446  4CDF 0080                movem.l    D7, [A7]+
  347. 0000044A  4E5E                     unlink     A6
  348. 0000044C  4E75                     rts
  349. fn0000044E:
  350. 0000044E  4E56 FFF4                link       A6, -0x000C
  351. 00000452  48E7 0108                movem.l    -[A7], D7,A4
  352. 00000456  286E 0008                movea.l    A4, [A6 + 0x8]
  353. 0000045A  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  354. 00000460  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  355. 00000466  3E2E FFFE                move.w     D7, [A6 - 0x2]
  356. 0000046A  0447 000F                subi.w     D7, 0xF
  357. // begin alternate branch 0000046C-00000472
  358. label0000046C:
  359. 0000046C  000F 3D47                ori.b      A7, 0x47 /* 'G' */
  360. label0000046E: // (misaligned)
  361. 00000470  FFFA                     .invalid   <<F/7/7>>
  362. // end alternate branch 0000046C-00000472
  363. label0000046C: // (misaligned)
  364. label0000046E:
  365. 0000046E  3D47 FFFA                move.w     [A6 - 0x6], D7
  366. 00000472  598F                     subq.l     A7, 4
  367. 00000474  A8D8                     syscall    NewRgn
  368. 00000476  2E1F                     move.l     D7, [A7]+
  369. 00000478  2D47 FFF4                move.l     [A6 - 0xC], D7
  370. label0000047C:
  371. 0000047C  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  372. 00000480  A87A                     syscall    GetClip
  373. fn00000482:
  374. 00000482  486E FFF8                pea.l      [A6 - 0x8]
  375. 00000486  A87B                     syscall    ClipRect
  376. 00000488  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  377. 0000048C  A904                     syscall    DrawGrowIcon
  378. 0000048E  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  379. 00000492  A879                     syscall    SetClip
  380. 00000494  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  381. label00000498:
  382. 00000498  A8D9                     syscall    DisposRgn/DisposeRgn
  383. 0000049A  4CDF 1080                movem.l    D7,A4, [A7]+
  384. 0000049E  4E5E                     unlink     A6
  385. 000004A0  2E9F                     move.l     [A7], [A7]+
  386. 000004A2  4E75                     rts
  387. fn000004A4:
  388. 000004A4  4E56 FFFE                link       A6, -0x0002
  389. 000004A8  48E7 0308                movem.l    -[A7], D6,D7,A4
  390. 000004AC  3E2D FE20                move.w     D7, [A5 - 0x1E0]
  391. 000004B0  DE6E 0008                add.w      D7, [A6 + 0x8]
  392. 000004B4  3D47 FFFE                move.w     [A6 - 0x2], D7
  393. 000004B8  0C6E 0000 FFFE           cmpi.w     [A6 - 0x2], 0x0
  394. 000004BE  6C00 0006                bge        +0x8 /* 000004C6 */
  395. 000004C2  426E FFFE                clr.w      [A6 - 0x2]
  396. label000004C6:
  397. 000004C6  558F                     subq.l     A7, 2
  398. 000004C8  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  399. 000004CC  A962                     syscall    GetControlMaximum/GetMaxCtl
  400. 000004CE  3E1F                     move.w     D7, [A7]+
  401. 000004D0  3C2E FFFE                move.w     D6, [A6 - 0x2]
  402. 000004D4  BC47                     cmp.w      D6, D7
  403. 000004D6  6F00 0010                ble        +0x12 /* 000004E8 */
  404. 000004DA  558F                     subq.l     A7, 2
  405. 000004DC  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  406. 000004E0  A962                     syscall    GetControlMaximum/GetMaxCtl
  407. 000004E2  3E1F                     move.w     D7, [A7]+
  408. 000004E4  3D47 FFFE                move.w     [A6 - 0x2], D7
  409. label000004E8:
  410. 000004E8  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  411. 000004EC  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  412. 000004F0  A963                     syscall    SetControlValue/SetCtlValue
  413. 000004F2  3E2D FE20                move.w     D7, [A5 - 0x1E0]
  414. 000004F6  9E6E FFFE                sub.w      D7, [A6 - 0x2]
  415. 000004FA  286D FE16                movea.l    A4, [A5 - 0x1EA]
  416. 000004FE  2854                     movea.l    A4, [A4]
  417. 00000500  CFEC 0018                muls.w     D7, [A4 + 0x18]
  418. 00000504  3D47 0008                move.w     [A6 + 0x8], D7
  419. 00000508  4267                     clr.w      -[A7]
  420. 0000050A  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  421. 0000050E  2F2D FE16                move.l     -[A7], [A5 - 0x1EA]
  422. 00000512  A9DD                     syscall    TEScroll
  423. 00000514  3B6E FFFE FE20           move.w     [A5 - 0x1E0], [A6 - 0x2]
  424. 0000051A  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  425. 0000051E  4E5E                     unlink     A6
  426. 00000520  205F                     movea.l    A0, [A7]+
  427. 00000522  548F                     addq.l     A7, 2
  428. 00000524  4ED0                     jmp        [A0]
  429. 00000526  4E56 FFFE                link       A6, -0x0002
  430. 0000052A  48E7 0300                movem.l    -[A7], D6,D7
  431. 0000052E  598F                     subq.l     A7, 4
  432. 00000530  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  433. 00000534  A95A                     syscall    GetControlReference/GetCRefCon
  434. 00000536  2E1F                     move.l     D7, [A7]+
  435. 00000538  3C2E 0008                move.w     D6, [A6 + 0x8]
  436. 0000053C  48C6                     ext.l      D6
  437. 0000053E  BC87                     cmp.l      D6, D7
  438. 00000540  6600 0064                bne        +0x66 /* 000005A6 */
  439. 00000544  4EFA 002E                jmp        [PC + 0x2E /* 00000574 */]
  440. 00000548  3D7C FFFF FFFE           move.w     [A6 - 0x2], 0xFFFF
  441. 0000054E  4EFA 004E                jmp        [PC + 0x4E /* 0000059E */]
  442. 00000552  3D7C 0001 FFFE           move.w     [A6 - 0x2], 0x1
  443. 00000558  4EFA 0044                jmp        [PC + 0x44 /* 0000059E */]
  444. 0000055C  3E2D FE1E                move.w     D7, [A5 - 0x1E2]
  445. 00000560  4447                     neg.w      D7
  446. 00000562  3D47 FFFE                move.w     [A6 - 0x2], D7
  447. 00000566  4EFA 0036                jmp        [PC + 0x36 /* 0000059E */]
  448. 0000056A  3D6D FE1E FFFE           move.w     [A6 - 0x2], [A5 - 0x1E2]
  449. 00000570  4EFA 002C                jmp        [PC + 0x2C /* 0000059E */]
  450. label00000574:
  451. 00000574  3E2E 0008                move.w     D7, [A6 + 0x8]
  452. 00000578  0C47 0014                cmpi.w     D7, 0x14
  453. 0000057C  6D00 0020                blt        +0x22 /* 0000059E */
  454. 00000580  0C47 0017                cmpi.w     D7, 0x17
  455. 00000584  6E00 0018                bgt        +0x1A /* 0000059E */
  456. 00000588  0447 0014                subi.w     D7, 0x14
  457. 0000058C  DE47                     add.w      D7, D7
  458. 0000058E  3E3B 7006                move.w     D7, [PC + D7.w + 0x6]
  459. 00000592  4EFB 7002                jmp        [PC + D7.w + 0x2]
  460. 00000596  FFB2                     .invalid   <<F/6/7>>
  461. 00000598  FFBC                     .invalid   <<F/6/7>>
  462. 0000059A  FFC6                     .invalid   <<F/7/7>>
  463. 0000059C  FFD4                     .invalid   <<F/7/7>>
  464. label0000059E:
  465. 0000059E  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  466. 000005A2  4EBA FF00                jsr        [PC - 0x100 /* 000004A4 */]
  467. label000005A6:
  468. 000005A6  4CDF 00C0                movem.l    D6,D7, [A7]+
  469. 000005AA  4E5E                     unlink     A6
  470. 000005AC  205F                     movea.l    A0, [A7]+
  471. 000005AE  5C8F                     addq.l     A7, 6
  472. 000005B0  4ED0                     jmp        [A0]
  473. 000005B2  4E56 FFFC                link       A6, -0x0004
  474. 000005B6  48E7 0108                movem.l    -[A7], D7,A4
  475. 000005BA  558F                     subq.l     A7, 2
  476. 000005BC  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  477. 000005C0  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  478. 000005C4  A966                     syscall    TestControl
  479. 000005C6  3E1F                     move.w     D7, [A7]+
  480. 000005C8  3D47 FFFC                move.w     [A6 - 0x4], D7
  481. 000005CC  0C6E 0081 FFFC           cmpi.w     [A6 - 0x4], 0x81
  482. 000005D2  6600 002E                bne        +0x30 /* 00000602 */
  483. 000005D6  558F                     subq.l     A7, 2
  484. 000005D8  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  485. 000005DC  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  486. 000005E0  42A7                     clr.l      -[A7]
  487. 000005E2  A968                     syscall    TrackControl
  488. 000005E4  3E1F                     move.w     D7, [A7]+
  489. 000005E6  3D47 FFFE                move.w     [A6 - 0x2], D7
  490. 000005EA  558F                     subq.l     A7, 2
  491. 000005EC  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  492. 000005F0  A960                     syscall    GetControlValue/GetCtlValue
  493. 000005F2  3E1F                     move.w     D7, [A7]+
  494. 000005F4  9E6D FE20                sub.w      D7, [A5 - 0x1E0]
  495. 000005F8  3F07                     move.w     -[A7], D7
  496. 000005FA  4EBA FEA8                jsr        [PC - 0x158 /* 000004A4 */]
  497. 000005FE  4EFA 0030                jmp        [PC + 0x30 /* 00000630 */]
  498. label00000602:
  499. 00000602  4A6E FFFC                tst.w      [A6 - 0x4]
  500. 00000606  6700 0028                beq        +0x2A /* 00000630 */
  501. 0000060A  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  502. 0000060E  3E2E FFFC                move.w     D7, [A6 - 0x4]
  503. 00000612  48C7                     ext.l      D7
  504. 00000614  2F07                     move.l     -[A7], D7
  505. 00000616  A95B                     syscall    SetControlReference/SetCRefCon
  506. 00000618  558F                     subq.l     A7, 2
  507. 0000061A  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  508. 0000061E  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  509. 00000622  49FA FF02                lea.l      A4, [PC - 0xFE /* 00000526, value 0x4E56FFFE */]
  510. 00000626  2F0C                     move.l     -[A7], A4
  511. 00000628  A968                     syscall    TrackControl
  512. 0000062A  3E1F                     move.w     D7, [A7]+
  513. 0000062C  3D47 FFFE                move.w     [A6 - 0x2], D7
  514. label00000630:
  515. 00000630  4CDF 1080                movem.l    D7,A4, [A7]+
  516. 00000634  4E5E                     unlink     A6
  517. 00000636  205F                     movea.l    A0, [A7]+
  518. 00000638  4FEF 000A                lea.l      A7, [A7 + 0xA]
  519. 0000063C  4ED0                     jmp        [A0]
  520. 0000063E  4E56 FFEC                link       A6, -0x0014
  521. 00000642  48E7 0308                movem.l    -[A7], D6,D7,A4
  522. 00000646  286D FE12                movea.l    A4, [A5 - 0x1EE]
  523. 0000064A  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  524. 00000650  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  525. 00000656  486E FFF8                pea.l      [A6 - 0x8]
  526. 0000065A  A8A3                     syscall    EraseRect
  527. 0000065C  4A2E 0008                tst.b      [A6 + 0x8]
  528. 00000660  6700 01B8                beq        +0x1BA /* 0000081A */
  529. 00000664  3E2E FFFA                move.w     D7, [A6 - 0x6]
  530. 00000668  5847                     addq.w     D7, 4
  531. 0000066A  3D47 FFFA                move.w     [A6 - 0x6], D7
  532. 0000066E  3E2E FFFC                move.w     D7, [A6 - 0x4]
  533. 00000672  5547                     subq.w     D7, 2
  534. 00000674  3D47 FFFC                move.w     [A6 - 0x4], D7
  535. 00000678  3E2E FFF8                move.w     D7, [A6 - 0x8]
  536. 0000067C  5447                     addq.w     D7, 2
  537. 0000067E  3D47 FFF8                move.w     [A6 - 0x8], D7
  538. 00000682  3E2E FFFE                move.w     D7, [A6 - 0x2]
  539. 00000686  0447 0013                subi.w     D7, 0x13
  540. 0000068A  3D47 FFFE                move.w     [A6 - 0x2], D7
  541. 0000068E  286D FE16                movea.l    A4, [A5 - 0x1EA]
  542. 00000692  2854                     movea.l    A4, [A4]
  543. 00000694  396E FFFE 0006           move.w     [A4 + 0x6], [A6 - 0x2]
  544. 0000069A  286D FE16                movea.l    A4, [A5 - 0x1EA]
  545. 0000069E  2854                     movea.l    A4, [A4]
  546. 000006A0  296E FFF8 0008           move.l     [A4 + 0x8], [A6 - 0x8]
  547. 000006A6  296E FFFC 000C           move.l     [A4 + 0xC], [A6 - 0x4]
  548. 000006AC  2F2D FE16                move.l     -[A7], [A5 - 0x1EA]
  549. 000006B0  A9D0                     syscall    TECalText
  550. 000006B2  286D FE16                movea.l    A4, [A5 - 0x1EA]
  551. 000006B6  2854                     movea.l    A4, [A4]
  552. 000006B8  3D6C 0018 FFEE           move.w     [A6 - 0x12], [A4 + 0x18]
  553. 000006BE  286D FE16                movea.l    A4, [A5 - 0x1EA]
  554. 000006C2  2854                     movea.l    A4, [A4]
  555. 000006C4  3D6C 005E FFF2           move.w     [A6 - 0xE], [A4 + 0x5E]
  556. 000006CA  3E2E FFFC                move.w     D7, [A6 - 0x4]
  557. 000006CE  9E6E FFF8                sub.w      D7, [A6 - 0x8]
  558. 000006D2  48C7                     ext.l      D7
  559. 000006D4  8FEE FFEE                divs.w     D7, [A6 - 0x12]
  560. 000006D8  3D47 FFEC                move.w     [A6 - 0x14], D7
  561. 000006DC  3E2E FFEC                move.w     D7, [A6 - 0x14]
  562. 000006E0  48C7                     ext.l      D7
  563. 000006E2  8FFC 0002                divs.w     D7, 0x2
  564. 000006E6  3B47 FE1E                move.w     [A5 - 0x1E2], D7
  565. 000006EA  286D FE16                movea.l    A4, [A5 - 0x1EA]
  566. 000006EE  2854                     movea.l    A4, [A4]
  567. 000006F0  3E2E FFF8                move.w     D7, [A6 - 0x8]
  568. 000006F4  9E54                     sub.w      D7, [A4]
  569. 000006F6  48C7                     ext.l      D7
  570. 000006F8  8FEE FFEE                divs.w     D7, [A6 - 0x12]
  571. 000006FC  3D47 FFF0                move.w     [A6 - 0x10], D7
  572. 00000700  3E2E FFF2                move.w     D7, [A6 - 0xE]
  573. 00000704  9E6E FFF0                sub.w      D7, [A6 - 0x10]
  574. 00000708  3C2E FFEC                move.w     D6, [A6 - 0x14]
  575. 0000070C  9C47                     sub.w      D6, D7
  576. 0000070E  3D46 FFF4                move.w     [A6 - 0xC], D6
  577. 00000712  0C6E 0000 FFF4           cmpi.w     [A6 - 0xC], 0x0
  578. 00000718  5EC7                     sgt        D7
  579. 0000071A  4407                     neg.b      D7
  580. 0000071C  0C6E 0000 FFF0           cmpi.w     [A6 - 0x10], 0x0
  581. 00000722  5EC6                     sgt        D6
  582. 00000724  4406                     neg.b      D6
  583. 00000726  CC07                     and.b      D6, D7
  584. 00000728  6700 0026                beq        +0x28 /* 00000750 */
  585. 0000072C  3E2E FFF4                move.w     D7, [A6 - 0xC]
  586. 00000730  BE6E FFF0                cmp.w      D7, [A6 - 0x10]
  587. 00000734  6F00 0008                ble        +0xA /* 0000073E */
  588. 00000738  3D6E FFF0 FFF4           move.w     [A6 - 0xC], [A6 - 0x10]
  589. label0000073E:
  590. 0000073E  4267                     clr.w      -[A7]
  591. 00000740  3E2E FFF4                move.w     D7, [A6 - 0xC]
  592. 00000744  CFEE FFEE                muls.w     D7, [A6 - 0x12]
  593. 00000748  3F07                     move.w     -[A7], D7
  594. 0000074A  2F2D FE16                move.l     -[A7], [A5 - 0x1EA]
  595. 0000074E  A9DD                     syscall    TEScroll
  596. label00000750:
  597. 00000750  3E2E FFF2                move.w     D7, [A6 - 0xE]
  598. 00000754  9E6E FFEC                sub.w      D7, [A6 - 0x14]
  599. 00000758  3D47 FFF4                move.w     [A6 - 0xC], D7
  600. 0000075C  286D FE16                movea.l    A4, [A5 - 0x1EA]
  601. 00000760  2854                     movea.l    A4, [A4]
  602. 00000762  3E2E FFF8                move.w     D7, [A6 - 0x8]
  603. 00000766  9E54                     sub.w      D7, [A4]
  604. 00000768  48C7                     ext.l      D7
  605. 0000076A  8FEE FFEE                divs.w     D7, [A6 - 0x12]
  606. 0000076E  3B47 FE20                move.w     [A5 - 0x1E0], D7
  607. 00000772  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  608. 00000776  A958                     syscall    HideControl
  609. 00000778  286D FE12                movea.l    A4, [A5 - 0x1EE]
  610. 0000077C  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  611. 00000782  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  612. 00000788  3E2E FFFE                move.w     D7, [A6 - 0x2]
  613. 0000078C  0447 000F                subi.w     D7, 0xF
  614. 00000790  3D47 FFFA                move.w     [A6 - 0x6], D7
  615. 00000794  3E2E FFFC                move.w     D7, [A6 - 0x4]
  616. 00000798  0447 000E                subi.w     D7, 0xE
  617. 0000079C  3D47 FFFC                move.w     [A6 - 0x4], D7
  618. 000007A0  3E2E FFF8                move.w     D7, [A6 - 0x8]
  619. 000007A4  5347                     subq.w     D7, 1
  620. 000007A6  3D47 FFF8                move.w     [A6 - 0x8], D7
  621. 000007AA  3E2E FFFE                move.w     D7, [A6 - 0x2]
  622. 000007AE  5247                     addq.w     D7, 1
  623. 000007B0  3D47 FFFE                move.w     [A6 - 0x2], D7
  624. 000007B4  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  625. 000007B8  3E2E FFFE                move.w     D7, [A6 - 0x2]
  626. 000007BC  9E6E FFFA                sub.w      D7, [A6 - 0x6]
  627. 000007C0  3F07                     move.w     -[A7], D7
  628. 000007C2  3E2E FFFC                move.w     D7, [A6 - 0x4]
  629. 000007C6  9E6E FFF8                sub.w      D7, [A6 - 0x8]
  630. 000007CA  3F07                     move.w     -[A7], D7
  631. 000007CC  A95C                     syscall    SizeControl
  632. 000007CE  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  633. 000007D2  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  634. 000007D6  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  635. 000007DA  A959                     syscall    MoveControl
  636. 000007DC  3E2E FFF2                move.w     D7, [A6 - 0xE]
  637. 000007E0  9E6E FFEC                sub.w      D7, [A6 - 0x14]
  638. 000007E4  0C47 0000                cmpi.w     D7, 0x0
  639. 000007E8  6C00 000A                bge        +0xC /* 000007F4 */
  640. 000007EC  426E FFF6                clr.w      [A6 - 0xA]
  641. 000007F0  4EFA 000E                jmp        [PC + 0xE /* 00000800 */]
  642. label000007F4:
  643. 000007F4  3E2E FFF2                move.w     D7, [A6 - 0xE]
  644. 000007F8  9E6E FFEC                sub.w      D7, [A6 - 0x14]
  645. 000007FC  3D47 FFF6                move.w     [A6 - 0xA], D7
  646. label00000800:
  647. 00000800  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  648. 00000804  3F2E FFF6                move.w     -[A7], [A6 - 0xA]
  649. 00000808  A965                     syscall    SetControlMaximum/SetMaxCtl
  650. 0000080A  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  651. 0000080E  3F2D FE20                move.w     -[A7], [A5 - 0x1E0]
  652. 00000812  A963                     syscall    SetControlValue/SetCtlValue
  653. 00000814  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  654. 00000818  A957                     syscall    ShowControl
  655. label0000081A:
  656. 0000081A  2F2D FE12                move.l     -[A7], [A5 - 0x1EE]
  657. 0000081E  4EBA FC2E                jsr        [PC - 0x3D2 /* 0000044E */]
  658. 00000822  2F2D FE12                move.l     -[A7], [A5 - 0x1EE]
  659. 00000826  A969                     syscall    DrawControls
  660. 00000828  286D FE16                movea.l    A4, [A5 - 0x1EA]
  661. 0000082C  2854                     movea.l    A4, [A4]
  662. 0000082E  2D6C 0008 FFF8           move.l     [A6 - 0x8], [A4 + 0x8]
  663. 00000834  2D6C 000C FFFC           move.l     [A6 - 0x4], [A4 + 0xC]
  664. 0000083A  486E FFF8                pea.l      [A6 - 0x8]
  665. 0000083E  2F2D FE16                move.l     -[A7], [A5 - 0x1EA]
  666. 00000842  A9D3                     syscall    TEUpdate
  667. 00000844  286D FE12                movea.l    A4, [A5 - 0x1EE]
  668. 00000848  486C 0010                pea.l      [A4 + 0x10]
  669. 0000084C  A92A                     syscall    ValidRect
  670. 0000084E  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  671. 00000852  4E5E                     unlink     A6
  672. 00000854  205F                     movea.l    A0, [A7]+
  673. 00000856  548F                     addq.l     A7, 2
  674. 00000858  4ED0                     jmp        [A0]
  675. 0000085A  4E56 FFFE                link       A6, -0x0002
  676. 0000085E  48E7 0100                movem.l    -[A7], D7
  677. 00000862  2F2D FE12                move.l     -[A7], [A5 - 0x1EE]
  678. 00000866  4EBA FBE6                jsr        [PC - 0x41A /* 0000044E */]
  679. 0000086A  4A2E 0008                tst.b      [A6 + 0x8]
  680. 0000086E  6700 0030                beq        +0x32 /* 000008A0 */
  681. 00000872  558F                     subq.l     A7, 2
  682. 00000874  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  683. 00000878  A962                     syscall    GetControlMaximum/GetMaxCtl
  684. 0000087A  3E1F                     move.w     D7, [A7]+
  685. 0000087C  0C47 0000                cmpi.w     D7, 0x0
  686. 00000880  6F00 000A                ble        +0xC /* 0000088C */
  687. 00000884  426E FFFE                clr.w      [A6 - 0x2]
  688. 00000888  4EFA 0008                jmp        [PC + 0x8 /* 00000892 */]
  689. label0000088C:
  690. 0000088C  3D7C 00FF FFFE           move.w     [A6 - 0x2], 0xFF
  691. label00000892:
  692. 00000892  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  693. 00000896  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  694. 0000089A  A95D                     syscall    HiliteControl
  695. 0000089C  4EFA 000C                jmp        [PC + 0xC /* 000008AA */]
  696. label000008A0:
  697. 000008A0  2F2D FE1A                move.l     -[A7], [A5 - 0x1E6]
  698. 000008A4  3F3C 00FF                move.w     -[A7], 0xFF
  699. 000008A8  A95D                     syscall    HiliteControl
  700. label000008AA:
  701. 000008AA  A937                     syscall    DrawMenuBar
  702. 000008AC  4CDF 0080                movem.l    D7, [A7]+
  703. 000008B0  4E5E                     unlink     A6
  704. 000008B2  205F                     movea.l    A0, [A7]+
  705. 000008B4  548F                     addq.l     A7, 2
  706. 000008B6  4ED0                     jmp        [A0]
  707. fn000008B8:
  708. 000008B8  4E56 FEE0                link       A6, -0x0120
  709. 000008BC  48E7 0108                movem.l    -[A7], D7,A4
  710. 000008C0  598F                     subq.l     A7, 4
  711. 000008C2  3F3C 03E8                move.w     -[A7], 0x3E8
  712. 000008C6  42A7                     clr.l      -[A7]
  713. 000008C8  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  714. 000008CE  A9BD                     syscall    GetNewWindow
  715. 000008D0  2E1F                     move.l     D7, [A7]+
  716. 000008D2  2B47 FE12                move.l     [A5 - 0x1EE], D7
  717. 000008D6  2F2D FE12                move.l     -[A7], [A5 - 0x1EE]
  718. 000008DA  A873                     syscall    SetPort
  719. 000008DC  2F2D FE12                move.l     -[A7], [A5 - 0x1EE]
  720. 000008E0  49FA FCD0                lea.l      A4, [PC - 0x330 /* 000005B2, value 0x4E56FFFC */]
  721. 000008E4  2F0C                     move.l     -[A7], A4
  722. 000008E6  42A7                     clr.l      -[A7]
  723. 000008E8  49FA FD54                lea.l      A4, [PC - 0x2AC /* 0000063E, value 0x4E56FFEC */]
  724. 000008EC  2F0C                     move.l     -[A7], A4
  725. 000008EE  49FA FF6A                lea.l      A4, [PC - 0x96 /* 0000085A, value 0x4E56FFFE */]
  726. 000008F2  2F0C                     move.l     -[A7], A4
  727. 000008F4  42A7                     clr.l      -[A7]
  728. 000008F6  49FA FB34                lea.l      A4, [PC - 0x4CC /* 0000042C, value 0x4E560000 'NV\0\0', cstring "NV" */]
  729. 000008FA  2F0C                     move.l     -[A7], A4
  730. 000008FC  42A7                     clr.l      -[A7]
  731. 000008FE  1F3C 0001                move.b     -[A7], 0x1
  732. 00000902  4EBA 1992                jsr        [PC + 0x1992 /* 00002296 */]
  733. 00000906  3F3C 0003                move.w     -[A7], 0x3
  734. 0000090A  A887                     syscall    TextFont
  735. 0000090C  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  736. 00000910  A88A                     syscall    TextSize
  737. 00000912  286D FE12                movea.l    A4, [A5 - 0x1EE]
  738. 00000916  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  739. 0000091C  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  740. 00000922  3E2E FFFA                move.w     D7, [A6 - 0x6]
  741. 00000926  5847                     addq.w     D7, 4
  742. 00000928  3D47 FFFA                move.w     [A6 - 0x6], D7
  743. 0000092C  3E2E FFFC                move.w     D7, [A6 - 0x4]
  744. 00000930  5547                     subq.w     D7, 2
  745. 00000932  3D47 FFFC                move.w     [A6 - 0x4], D7
  746. 00000936  3E2E FFF8                move.w     D7, [A6 - 0x8]
  747. 0000093A  5447                     addq.w     D7, 2
  748. 0000093C  3D47 FFF8                move.w     [A6 - 0x8], D7
  749. 00000940  3E2E FFFE                move.w     D7, [A6 - 0x2]
  750. 00000944  0447 0013                subi.w     D7, 0x13
  751. 00000948  3D47 FFFE                move.w     [A6 - 0x2], D7
  752. 0000094C  598F                     subq.l     A7, 4
  753. 0000094E  486E FFF8                pea.l      [A6 - 0x8]
  754. 00000952  486E FFF8                pea.l      [A6 - 0x8]
  755. 00000956  A9D2                     syscall    TENew
  756. 00000958  2E1F                     move.l     D7, [A7]+
  757. 0000095A  2B47 FE16                move.l     [A5 - 0x1EA], D7
  758. 0000095E  558F                     subq.l     A7, 2
  759. 00000960  49EE FEF0                lea.l      A4, [A6 - 0x110]
  760. 00000964  2F0C                     move.l     -[A7], A4
  761. 00000966  486E FEE8                pea.l      [A6 - 0x118]
  762. 0000096A  4EBA 0980                jsr        [PC + 0x980 /* 000012EC */]
  763. 0000096E  3E1F                     move.w     D7, [A7]+
  764. 00000970  3D47 FEE4                move.w     [A6 - 0x11C], D7
  765. 00000974  4A6E FEE4                tst.w      [A6 - 0x11C]
  766. 00000978  6700 000E                beq        +0x10 /* 00000988 */
  767. 0000097C  487A 029C                pea.l      [PC + 0x29C /* 00000C1A, value 0x18206765, pstring " get volume information." */]
  768. 00000980  4EBA F682                jsr        [PC - 0x97E /* 00000004 */]
  769. 00000984  4EBA 0828                jsr        [PC + 0x828 /* 000011AE */]
  770. label00000988:
  771. 00000988  486D FE22                pea.l      [A5 - 0x1DE]
  772. 0000098C  486E FEE6                pea.l      [A6 - 0x11A]
  773. 00000990  486E FEEC                pea.l      [A6 - 0x114]
  774. 00000994  A9F5                     syscall    GetAppParms
  775. 00000996  2F2D FE12                move.l     -[A7], [A5 - 0x1EE]
  776. 0000099A  486D FE22                pea.l      [A5 - 0x1DE]
  777. 0000099E  A91A                     syscall    SetWTitle
  778. 000009A0  558F                     subq.l     A7, 2
  779. 000009A2  486D FE22                pea.l      [A5 - 0x1DE]
  780. 000009A6  3F2E FEE8                move.w     -[A7], [A6 - 0x118]
  781. 000009AA  486E FEEA                pea.l      [A6 - 0x116]
  782. 000009AE  4EBA 089A                jsr        [PC + 0x89A /* 0000124A */]
  783. 000009B2  3E1F                     move.w     D7, [A7]+
  784. 000009B4  3D47 FEE4                move.w     [A6 - 0x11C], D7
  785. 000009B8  4A6E FEE4                tst.w      [A6 - 0x11C]
  786. 000009BC  6700 001E                beq        +0x20 /* 000009DC */
  787. 000009C0  487A 0226                pea.l      [PC + 0x226 /* 00000BE8, value 0x31206F70 '1 op', pstring " open the file.  The program is probably damaged." */]
  788. 000009C4  4EBA F63E                jsr        [PC - 0x9C2 /* 00000004 */]
  789. 000009C8  558F                     subq.l     A7, 2
  790. 000009CA  3F2E FEEA                move.w     -[A7], [A6 - 0x116]
  791. 000009CE  4EBA 08B4                jsr        [PC + 0x8B4 /* 00001284 */]
  792. 000009D2  3E1F                     move.w     D7, [A7]+
  793. 000009D4  3D47 FEE4                move.w     [A6 - 0x11C], D7
  794. 000009D8  4EBA 07D4                jsr        [PC + 0x7D4 /* 000011AE */]
  795. label000009DC:
  796. 000009DC  558F                     subq.l     A7, 2
  797. 000009DE  3F2E FEEA                move.w     -[A7], [A6 - 0x116]
  798. 000009E2  486D FF74                pea.l      [A5 - 0x8C]
  799. 000009E6  4EBA 096C                jsr        [PC + 0x96C /* 00001354 */]
  800. 000009EA  3E1F                     move.w     D7, [A7]+
  801. 000009EC  3D47 FEE4                move.w     [A6 - 0x11C], D7
  802. 000009F0  4A6E FEE4                tst.w      [A6 - 0x11C]
  803. 000009F4  6700 001E                beq        +0x20 /* 00000A14 */
  804. 000009F8  487A 01C2                pea.l      [PC + 0x1C2 /* 00000BBC, value 0x2B206765 '+ ge', pstring " get EOF.  The program is probably damaged." */]
  805. 000009FC  4EBA F606                jsr        [PC - 0x9FA /* 00000004 */]
  806. 00000A00  558F                     subq.l     A7, 2
  807. 00000A02  3F2E FEEA                move.w     -[A7], [A6 - 0x116]
  808. 00000A06  4EBA 087C                jsr        [PC + 0x87C /* 00001284 */]
  809. 00000A0A  3E1F                     move.w     D7, [A7]+
  810. 00000A0C  3D47 FEE4                move.w     [A6 - 0x11C], D7
  811. 00000A10  4EBA 079C                jsr        [PC + 0x79C /* 000011AE */]
  812. label00000A14:
  813. 00000A14  598F                     subq.l     A7, 4
  814. 00000A16  2F2D FF74                move.l     -[A7], [A5 - 0x8C]
  815. 00000A1A  4EBA 07DA                jsr        [PC + 0x7DA /* 000011F6 */]
  816. 00000A1E  2E1F                     move.l     D7, [A7]+
  817. 00000A20  2D47 FEE0                move.l     [A6 - 0x120], D7
  818. 00000A24  4AAE FEE0                tst.l      [A6 - 0x120]
  819. 00000A28  6600 001E                bne        +0x20 /* 00000A48 */
  820. 00000A2C  487A 017A                pea.l      [PC + 0x17A /* 00000BA8, value 0x13206765, pstring " get enough memory." */]
  821. 00000A30  4EBA F5D2                jsr        [PC - 0xA2E /* 00000004 */]
  822. 00000A34  558F                     subq.l     A7, 2
  823. 00000A36  3F2E FEEA                move.w     -[A7], [A6 - 0x116]
  824. 00000A3A  4EBA 0848                jsr        [PC + 0x848 /* 00001284 */]
  825. 00000A3E  3E1F                     move.w     D7, [A7]+
  826. 00000A40  3D47 FEE4                move.w     [A6 - 0x11C], D7
  827. 00000A44  4EBA 0768                jsr        [PC + 0x768 /* 000011AE */]
  828. label00000A48:
  829. 00000A48  558F                     subq.l     A7, 2
  830. 00000A4A  3F2E FEEA                move.w     -[A7], [A6 - 0x116]
  831. 00000A4E  486D FF74                pea.l      [A5 - 0x8C]
  832. 00000A52  2F2E FEE0                move.l     -[A7], [A6 - 0x120]
  833. 00000A56  4EBA 0848                jsr        [PC + 0x848 /* 000012A0 */]
  834. 00000A5A  3E1F                     move.w     D7, [A7]+
  835. 00000A5C  3D47 FEE4                move.w     [A6 - 0x11C], D7
  836. 00000A60  4A6E FEE4                tst.w      [A6 - 0x11C]
  837. 00000A64  6700 001E                beq        +0x20 /* 00000A84 */
  838. 00000A68  487A 010C                pea.l      [PC + 0x10C /* 00000B76, value 0x31207265 '1 re', pstring " read the file.  The program is probably damaged." */]
  839. 00000A6C  4EBA F596                jsr        [PC - 0xA6A /* 00000004 */]
  840. 00000A70  558F                     subq.l     A7, 2
  841. 00000A72  3F2E FEEA                move.w     -[A7], [A6 - 0x116]
  842. 00000A76  4EBA 080C                jsr        [PC + 0x80C /* 00001284 */]
  843. 00000A7A  3E1F                     move.w     D7, [A7]+
  844. 00000A7C  3D47 FEE4                move.w     [A6 - 0x11C], D7
  845. 00000A80  4EBA 072C                jsr        [PC + 0x72C /* 000011AE */]
  846. label00000A84:
  847. 00000A84  558F                     subq.l     A7, 2
  848. 00000A86  3F2E FEEA                move.w     -[A7], [A6 - 0x116]
  849. 00000A8A  4EBA 07F8                jsr        [PC + 0x7F8 /* 00001284 */]
  850. 00000A8E  3E1F                     move.w     D7, [A7]+
  851. 00000A90  3D47 FEE4                move.w     [A6 - 0x11C], D7
  852. 00000A94  486D FF2A                pea.l      [A5 - 0xD6]
  853. 00000A98  A851                     syscall    SetCursor
  854. 00000A9A  2F2E FEE0                move.l     -[A7], [A6 - 0x120]
  855. 00000A9E  598F                     subq.l     A7, 4
  856. 00000AA0  2F2E FEE0                move.l     -[A7], [A6 - 0x120]
  857. 00000AA4  4EBA 0766                jsr        [PC + 0x766 /* 0000120C */]
  858. 00000AA8  2E1F                     move.l     D7, [A7]+
  859. 00000AAA  2F07                     move.l     -[A7], D7
  860. 00000AAC  2F2D FE16                move.l     -[A7], [A5 - 0x1EA]
  861. 00000AB0  A9DE                     syscall    TEInsert
  862. 00000AB2  486D FD9E                pea.l      [A5 - 0x262]
  863. 00000AB6  A851                     syscall    SetCursor
  864. 00000AB8  2F2E FEE0                move.l     -[A7], [A6 - 0x120]
  865. 00000ABC  4EBA 0744                jsr        [PC + 0x744 /* 00001202 */]
  866. 00000AC0  3E2E FFFC                move.w     D7, [A6 - 0x4]
  867. 00000AC4  9E6E FFF8                sub.w      D7, [A6 - 0x8]
  868. 00000AC8  286D FE16                movea.l    A4, [A5 - 0x1EA]
  869. 00000ACC  2854                     movea.l    A4, [A4]
  870. 00000ACE  48C7                     ext.l      D7
  871. 00000AD0  8FEC 0018                divs.w     D7, [A4 + 0x18]
  872. 00000AD4  3D47 FFF0                move.w     [A6 - 0x10], D7
  873. 00000AD8  286D FE16                movea.l    A4, [A5 - 0x1EA]
  874. 00000ADC  2854                     movea.l    A4, [A4]
  875. 00000ADE  3E2C 005E                move.w     D7, [A4 + 0x5E]
  876. 00000AE2  9E6E FFF0                sub.w      D7, [A6 - 0x10]
  877. 00000AE6  3D47 FFF2                move.w     [A6 - 0xE], D7
  878. 00000AEA  3E2E FFF0                move.w     D7, [A6 - 0x10]
  879. 00000AEE  48C7                     ext.l      D7
  880. 00000AF0  8FFC 0002                divs.w     D7, 0x2
  881. 00000AF4  3B47 FE1E                move.w     [A5 - 0x1E2], D7
  882. 00000AF8  426D FE20                clr.w      [A5 - 0x1E0]
  883. 00000AFC  286D FE12                movea.l    A4, [A5 - 0x1EE]
  884. 00000B00  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  885. 00000B06  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  886. 00000B0C  3E2E FFFE                move.w     D7, [A6 - 0x2]
  887. 00000B10  0447 000F                subi.w     D7, 0xF
  888. 00000B14  3D47 FFFA                move.w     [A6 - 0x6], D7
  889. 00000B18  3E2E FFFC                move.w     D7, [A6 - 0x4]
  890. 00000B1C  0447 000E                subi.w     D7, 0xE
  891. 00000B20  3D47 FFFC                move.w     [A6 - 0x4], D7
  892. 00000B24  3E2E FFF8                move.w     D7, [A6 - 0x8]
  893. 00000B28  5347                     subq.w     D7, 1
  894. 00000B2A  3D47 FFF8                move.w     [A6 - 0x8], D7
  895. 00000B2E  3E2E FFFE                move.w     D7, [A6 - 0x2]
  896. 00000B32  5247                     addq.w     D7, 1
  897. 00000B34  3D47 FFFE                move.w     [A6 - 0x2], D7
  898. 00000B38  598F                     subq.l     A7, 4
  899. 00000B3A  2F2D FE12                move.l     -[A7], [A5 - 0x1EE]
  900. 00000B3E  486E FFF8                pea.l      [A6 - 0x8]
  901. 00000B42  487A 0030                pea.l      [PC + 0x30 /* 00000B74, value 0x3120 '1 ', cstring "" */]
  902. 00000B46  1F3C 0001                move.b     -[A7], 0x1
  903. 00000B4A  3F2D FE20                move.w     -[A7], [A5 - 0x1E0]
  904. 00000B4E  4267                     clr.w      -[A7]
  905. 00000B50  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  906. 00000B54  3F3C 0010                move.w     -[A7], 0x10
  907. 00000B58  42A7                     clr.l      -[A7]
  908. 00000B5A  A954                     syscall    NewControl
  909. 00000B5C  2E1F                     move.l     D7, [A7]+
  910. 00000B5E  2B47 FE1A                move.l     [A5 - 0x1E6], D7
  911. 00000B62  286D FE12                movea.l    A4, [A5 - 0x1EE]
  912. 00000B66  486C 0010                pea.l      [A4 + 0x10]
  913. 00000B6A  A92A                     syscall    ValidRect
  914. 00000B6C  4CDF 1080                movem.l    D7,A4, [A7]+
  915. 00000B70  4E5E                     unlink     A6
  916. 00000B72  4E75                     rts
  917. 00000B74  0000 3120                ori.b      D0, 0x20 /* ' ' */
  918. 00000B78  7265                     moveq.l    D1, 0x65
  919. 00000B7A  6164                     bsr        +0x66 /* 00000BE0 */
  920. 00000B7C  2074 6865                movea.l    A0, [A4 + D6 + 0x65]
  921. 00000B80  2066                     movea.l    A0, -[A6]
  922. 00000B82  696C                     bvs        +0x6E /* 00000BF0 */
  923. 00000B84  652E                     bcs        +0x30 /* 00000BB4 */
  924. 00000B86  2020                     move.l     D0, -[A0]
  925. 00000B88  5468 6520                addq.w     [A0 + 0x6520], 2
  926. 00000B8C  7072                     moveq.l    D0, 0x72
  927. 00000B8E  6F67                     ble        +0x69 /* 00000BF7 */
  928. 00000B90  7261                     moveq.l    D1, 0x61
  929. 00000B92  6D20                     blt        +0x22 /* 00000BB4 */
  930. 00000B94  6973                     bvs        +0x75 /* 00000C09 */
  931. 00000B96  2070 726F                movea.l    A0, [A0 + D7.w * 2 + 0x6F]
  932. 00000B9A  6261                     bhi        +0x63 /* 00000BFD */
  933. 00000B9C  626C                     bhi        +0x6E /* 00000C0A */
  934. 00000B9E  7920                     moveq.l    D4, 0x20
  935. 00000BA0  6461                     bcc        +0x63 /* 00000C03 */
  936. 00000BA2  6D61                     blt        +0x63 /* 00000C05 */
  937. 00000BA4  6765                     beq        +0x67 /* 00000C0B */
  938. 00000BA6  642E                     bcc        +0x30 /* 00000BD6 */
  939. 00000BA8  1320                     move.b     -[A1], -[A0]
  940. 00000BAA  6765                     beq        +0x67 /* 00000C11 */
  941. 00000BAC  7420                     moveq.l    D2, 0x20
  942. 00000BAE  656E                     bcs        +0x70 /* 00000C1E */
  943. 00000BB0  6F75                     ble        +0x77 /* 00000C27 */
  944. 00000BB2  6768                     beq        +0x6A /* 00000C1C */
  945. label00000BB4:
  946. 00000BB4  206D 656D                movea.l    A0, [A5 + 0x656D]
  947. 00000BB8  6F72                     ble        +0x74 /* 00000C2C */
  948. 00000BBA  792E                     moveq.l    D4, 0x2E
  949. 00000BBC  2B20                     move.l     -[A5], -[A0]
  950. 00000BBE  6765                     beq        +0x67 /* 00000C25 */
  951. 00000BC0  7420                     moveq.l    D2, 0x20
  952. 00000BC2  454F                     chk.w      D2, A7
  953. 00000BC4  462E 2020                not.b      [A6 + 0x2020]
  954. 00000BC8  5468 6520                addq.w     [A0 + 0x6520], 2
  955. 00000BCC  7072                     moveq.l    D0, 0x72
  956. 00000BCE  6F67                     ble        +0x69 /* 00000C37 */
  957. 00000BD0  7261                     moveq.l    D1, 0x61
  958. 00000BD2  6D20                     blt        +0x22 /* 00000BF4 */
  959. 00000BD4  6973                     bvs        +0x75 /* 00000C49 */
  960. label00000BD6:
  961. 00000BD6  2070 726F                movea.l    A0, [A0 + D7.w * 2 + 0x6F]
  962. 00000BDA  6261                     bhi        +0x63 /* 00000C3D */
  963. 00000BDC  626C                     bhi        +0x6E /* 00000C4A */
  964. 00000BDE  7920                     moveq.l    D4, 0x20
  965. fn00000BE0:
  966. 00000BE0  6461                     bcc        +0x63 /* 00000C43 */
  967. 00000BE2  6D61                     blt        +0x63 /* 00000C45 */
  968. 00000BE4  6765                     beq        +0x67 /* 00000C4B */
  969. 00000BE6  642E                     bcc        +0x30 /* 00000C16 */
  970. 00000BE8  3120                     move.w     -[A0], -[A0]
  971. 00000BEA  6F70                     ble        +0x72 /* 00000C5C */
  972. 00000BEC  656E                     bcs        +0x70 /* 00000C5C */
  973. 00000BEE  2074 6865                movea.l    A0, [A4 + D6 + 0x65]
  974. // begin alternate branch 00000BF0-00000BF2
  975. label00000BF0:
  976. 00000BF0  6865                     bvc        +0x67 /* 00000C57 */
  977. // end alternate branch 00000BF0-00000BF2
  978. label00000BF0: // (misaligned)
  979. 00000BF2  2066                     movea.l    A0, -[A6]
  980. label00000BF4:
  981. 00000BF4  696C                     bvs        +0x6E /* 00000C62 */
  982. 00000BF6  652E                     bcs        +0x30 /* 00000C26 */
  983. 00000BF8  2020                     move.l     D0, -[A0]
  984. 00000BFA  5468 6520                addq.w     [A0 + 0x6520], 2
  985. 00000BFE  7072                     moveq.l    D0, 0x72
  986. 00000C00  6F67                     ble        +0x69 /* 00000C69 */
  987. 00000C02  7261                     moveq.l    D1, 0x61
  988. 00000C04  6D20                     blt        +0x22 /* 00000C26 */
  989. 00000C06  6973                     bvs        +0x75 /* 00000C7B */
  990. 00000C08  2070 726F                movea.l    A0, [A0 + D7.w * 2 + 0x6F]
  991. // begin alternate branch 00000C0A-00000C0C
  992. label00000C0A:
  993. 00000C0A  726F                     moveq.l    D1, 0x6F
  994. // end alternate branch 00000C0A-00000C0C
  995. label00000C0A: // (misaligned)
  996. 00000C0C  6261                     bhi        +0x63 /* 00000C6F */
  997. 00000C0E  626C                     bhi        +0x6E /* 00000C7C */
  998. 00000C10  7920                     moveq.l    D4, 0x20
  999. 00000C12  6461                     bcc        +0x63 /* 00000C75 */
  1000. 00000C14  6D61                     blt        +0x63 /* 00000C77 */
  1001. label00000C16:
  1002. 00000C16  6765                     beq        +0x67 /* 00000C7D */
  1003. 00000C18  642E                     bcc        +0x30 /* 00000C48 */
  1004. 00000C1A  1820                     move.b     D4, -[A0]
  1005. label00000C1C:
  1006. 00000C1C  6765                     beq        +0x67 /* 00000C83 */
  1007. label00000C1E:
  1008. 00000C1E  7420                     moveq.l    D2, 0x20
  1009. 00000C20  766F                     moveq.l    D3, 0x6F
  1010. 00000C22  6C75                     bge        +0x77 /* 00000C99 */
  1011. 00000C24  6D65                     blt        +0x67 /* 00000C8B */
  1012. label00000C26:
  1013. 00000C26  2069 6E66                movea.l    A0, [A1 + 0x6E66]
  1014. 00000C2A  6F72                     ble        +0x74 /* 00000C9E */
  1015. label00000C2C:
  1016. 00000C2C  6D61                     blt        +0x63 /* 00000C8F */
  1017. 00000C2E  7469                     moveq.l    D2, 0x69
  1018. 00000C30  6F6E                     ble        +0x70 /* 00000CA0 */
  1019. 00000C32  2E00                     move.l     D7, D0
  1020. 00000C34  4E56 0000                link       A6, 0
  1021. 00000C38  48E7 0100                movem.l    -[A7], D7
  1022. 00000C3C  598F                     subq.l     A7, 4
  1023. 00000C3E  3F3C 03E8                move.w     -[A7], 0x3E8
  1024. 00000C42  42A7                     clr.l      -[A7]
  1025. 00000C44  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  1026. // begin alternate branch 00000C48-00000C4A
  1027. label00000C48:
  1028. 00000C48  FFFF                     .invalid   <<F/7/7>>
  1029. // end alternate branch 00000C48-00000C4A
  1030. label00000C48: // (misaligned)
  1031. label00000C4A:
  1032. 00000C4A  A97C                     syscall    GetNewDialog
  1033. 00000C4C  2E1F                     move.l     D7, [A7]+
  1034. 00000C4E  2B47 FFF6                move.l     [A5 - 0xA], D7
  1035. 00000C52  42A7                     clr.l      -[A7]
  1036. 00000C54  486D FFFA                pea.l      [A5 - 0x6]
  1037. 00000C58  A991                     syscall    ModalDialog
  1038. 00000C5A  2F2D FFF6                move.l     -[A7], [A5 - 0xA]
  1039. // begin alternate branch 00000C5C-00000C5E
  1040. label00000C5C:
  1041. 00000C5C  FFF6                     .invalid   <<F/7/7>>
  1042. // end alternate branch 00000C5C-00000C5E
  1043. label00000C5C: // (misaligned)
  1044. 00000C5E  A983                     syscall    DisposeDialog
  1045. 00000C60  4CDF 0080                movem.l    D7, [A7]+
  1046. // begin alternate branch 00000C62-00000C68
  1047. label00000C62:
  1048. 00000C62  0080 4E5E 4E75           ori.l      D0, 0x4E5E4E75 /* 'N^Nu' */
  1049. // end alternate branch 00000C62-00000C68
  1050. label00000C62: // (misaligned)
  1051. 00000C64  4E5E                     unlink     A6
  1052. 00000C66  4E75                     rts
  1053. fn00000C68:
  1054. 00000C68  4E56 FFB2                link       A6, -0x004E
  1055. 00000C6C  48E7 0100                movem.l    -[A7], D7
  1056. 00000C70  3D7C 005A FFB2           move.w     [A6 - 0x4E], 0x5A /* 'Z' */
  1057. 00000C76  3D7C 005A FFB4           move.w     [A6 - 0x4C], 0x5A /* 'Z' */
  1058. label00000C7C:
  1059. 00000C7C  2F2E FFB2                move.l     -[A7], [A6 - 0x4E]
  1060. 00000C80  487A 0354                pea.l      [PC + 0x354 /* 00000FD6, value 0x17437265, pstring "Create text file named:" */]
  1061. 00000C84  487A 0346                pea.l      [PC + 0x346 /* 00000FCC, value 0x8556E74, pstring "Untitled" */]
  1062. 00000C88  42A7                     clr.l      -[A7]
  1063. 00000C8A  486E FFB6                pea.l      [A6 - 0x4A]
  1064. 00000C8E  4EBA 06FE                jsr        [PC + 0x6FE /* 0000138E */]
  1065. 00000C92  4A2E FFB6                tst.b      [A6 - 0x4A]
  1066. 00000C96  6700 01AE                beq        +0x1B0 /* 00000E46 */
  1067. 00000C9A  558F                     subq.l     A7, 2
  1068. 00000C9C  486D FE22                pea.l      [A5 - 0x1DE]
  1069. // begin alternate branch 00000C9E-00000CA4
  1070. label00000C9E:
  1071. 00000C9E  FE22 3F2D                .unknown   0xFE22 0x3F2D (W = 7)
  1072. label00000CA0: // (misaligned)
  1073. 00000CA2  FF70                     .extension 0xF70 <<F/4-5/7>> // unimplemented
  1074. // end alternate branch 00000C9E-00000CA4
  1075. label00000C9E: // (misaligned)
  1076. label00000CA0:
  1077. 00000CA0  3F2D FF70                move.w     -[A7], [A5 - 0x90]
  1078. 00000CA4  486D FF6E                pea.l      [A5 - 0x92]
  1079. 00000CA8  4EBA 05A0                jsr        [PC + 0x5A0 /* 0000124A */]
  1080. 00000CAC  3E1F                     move.w     D7, [A7]+
  1081. 00000CAE  3B47 FF72                move.w     [A5 - 0x8E], D7
  1082. 00000CB2  4A6D FF72                tst.w      [A5 - 0x8E]
  1083. 00000CB6  6700 001E                beq        +0x20 /* 00000CD6 */
  1084. 00000CBA  487A 02D4                pea.l      [PC + 0x2D4 /* 00000F90, value 0x3A206F70 ': op', pstring " open the file.  You will not be able to make a text file." */]
  1085. 00000CBE  4EBA F344                jsr        [PC - 0xCBC /* 00000004 */]
  1086. 00000CC2  558F                     subq.l     A7, 2
  1087. 00000CC4  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1088. 00000CC8  4EBA 05BA                jsr        [PC + 0x5BA /* 00001284 */]
  1089. 00000CCC  3E1F                     move.w     D7, [A7]+
  1090. 00000CCE  3B47 FF72                move.w     [A5 - 0x8E], D7
  1091. 00000CD2  4EFA 0172                jmp        [PC + 0x172 /* 00000E46 */]
  1092. label00000CD6:
  1093. 00000CD6  558F                     subq.l     A7, 2
  1094. 00000CD8  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1095. 00000CDC  486D FF74                pea.l      [A5 - 0x8C]
  1096. 00000CE0  4EBA 0672                jsr        [PC + 0x672 /* 00001354 */]
  1097. 00000CE4  3E1F                     move.w     D7, [A7]+
  1098. 00000CE6  3B47 FF72                move.w     [A5 - 0x8E], D7
  1099. 00000CEA  4A6D FF72                tst.w      [A5 - 0x8E]
  1100. 00000CEE  6700 001E                beq        +0x20 /* 00000D0E */
  1101. 00000CF2  487A 0268                pea.l      [PC + 0x268 /* 00000F5C, value 0x33676574 '3get', pstring "get EOF.  You will not be able to make a text file." */]
  1102. 00000CF6  4EBA F30C                jsr        [PC - 0xCF4 /* 00000004 */]
  1103. 00000CFA  558F                     subq.l     A7, 2
  1104. 00000CFC  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1105. 00000D00  4EBA 0582                jsr        [PC + 0x582 /* 00001284 */]
  1106. 00000D04  3E1F                     move.w     D7, [A7]+
  1107. 00000D06  3B47 FF72                move.w     [A5 - 0x8E], D7
  1108. 00000D0A  4EFA 013A                jmp        [PC + 0x13A /* 00000E46 */]
  1109. label00000D0E:
  1110. 00000D0E  598F                     subq.l     A7, 4
  1111. 00000D10  2F2D FF74                move.l     -[A7], [A5 - 0x8C]
  1112. 00000D14  4EBA 04E0                jsr        [PC + 0x4E0 /* 000011F6 */]
  1113. 00000D18  2E1F                     move.l     D7, [A7]+
  1114. 00000D1A  2B47 FF78                move.l     [A5 - 0x88], D7
  1115. 00000D1E  4AAD FF78                tst.l      [A5 - 0x88]
  1116. 00000D22  6600 001E                bne        +0x20 /* 00000D42 */
  1117. 00000D26  487A 0220                pea.l      [PC + 0x220 /* 00000F48, value 0x12676574, pstring "get enough memory." */]
  1118. 00000D2A  4EBA F2D8                jsr        [PC - 0xD28 /* 00000004 */]
  1119. 00000D2E  558F                     subq.l     A7, 2
  1120. 00000D30  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1121. 00000D34  4EBA 054E                jsr        [PC + 0x54E /* 00001284 */]
  1122. 00000D38  3E1F                     move.w     D7, [A7]+
  1123. 00000D3A  3B47 FF72                move.w     [A5 - 0x8E], D7
  1124. 00000D3E  4EFA 0106                jmp        [PC + 0x106 /* 00000E46 */]
  1125. label00000D42:
  1126. 00000D42  558F                     subq.l     A7, 2
  1127. 00000D44  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1128. 00000D48  486D FF74                pea.l      [A5 - 0x8C]
  1129. 00000D4C  2F2D FF78                move.l     -[A7], [A5 - 0x88]
  1130. 00000D50  4EBA 054E                jsr        [PC + 0x54E /* 000012A0 */]
  1131. 00000D54  3E1F                     move.w     D7, [A7]+
  1132. 00000D56  3B47 FF72                move.w     [A5 - 0x8E], D7
  1133. 00000D5A  4A6D FF72                tst.w      [A5 - 0x8E]
  1134. 00000D5E  6700 001E                beq        +0x20 /* 00000D7E */
  1135. 00000D62  487A 01A8                pea.l      [PC + 0x1A8 /* 00000F0C, value 0x3A207265 ': re', pstring " read the file.  You will not be able to make a text file." */]
  1136. 00000D66  4EBA F29C                jsr        [PC - 0xD64 /* 00000004 */]
  1137. 00000D6A  558F                     subq.l     A7, 2
  1138. 00000D6C  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1139. 00000D70  4EBA 0512                jsr        [PC + 0x512 /* 00001284 */]
  1140. 00000D74  3E1F                     move.w     D7, [A7]+
  1141. 00000D76  3B47 FF72                move.w     [A5 - 0x8E], D7
  1142. 00000D7A  4EFA 00CA                jmp        [PC + 0xCA /* 00000E46 */]
  1143. label00000D7E:
  1144. 00000D7E  558F                     subq.l     A7, 2
  1145. 00000D80  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1146. 00000D84  4EBA 04FE                jsr        [PC + 0x4FE /* 00001284 */]
  1147. 00000D88  3E1F                     move.w     D7, [A7]+
  1148. 00000D8A  3B47 FF72                move.w     [A5 - 0x8E], D7
  1149. 00000D8E  558F                     subq.l     A7, 2
  1150. 00000D90  486E FFC0                pea.l      [A6 - 0x40]
  1151. 00000D94  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1152. 00000D98  2F3A 016E                move.l     -[A7], [PC + 0x16E /* 00000F08, value 0x45444954 'EDIT', cstring "EDIT: read the file.  You will "... */]
  1153. 00000D9C  2F3A 0166                move.l     -[A7], [PC + 0x166 /* 00000F04, value 0x54455854 'TEXT', cstring "TEXTEDIT: read the file.  You w"... */]
  1154. 00000DA0  4EBA 056E                jsr        [PC + 0x56E /* 00001310 */]
  1155. 00000DA4  3E1F                     move.w     D7, [A7]+
  1156. 00000DA6  3B47 FF72                move.w     [A5 - 0x8E], D7
  1157. 00000DAA  4A6D FF72                tst.w      [A5 - 0x8E]
  1158. 00000DAE  6700 000E                beq        +0x10 /* 00000DBE */
  1159. 00000DB2  487A 0112                pea.l      [PC + 0x112 /* 00000EC6, value 0x3C206372 '< cr', pstring " create the file.  You will not be able to make a text file." */]
  1160. 00000DB6  4EBA F24C                jsr        [PC - 0xDB4 /* 00000004 */]
  1161. 00000DBA  4EFA 008A                jmp        [PC + 0x8A /* 00000E46 */]
  1162. label00000DBE:
  1163. 00000DBE  558F                     subq.l     A7, 2
  1164. 00000DC0  486E FFC0                pea.l      [A6 - 0x40]
  1165. 00000DC4  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1166. 00000DC8  486D FF6E                pea.l      [A5 - 0x92]
  1167. 00000DCC  4EBA 047C                jsr        [PC + 0x47C /* 0000124A */]
  1168. 00000DD0  3E1F                     move.w     D7, [A7]+
  1169. 00000DD2  3B47 FF72                move.w     [A5 - 0x8E], D7
  1170. 00000DD6  4A6D FF72                tst.w      [A5 - 0x8E]
  1171. 00000DDA  6700 001E                beq        +0x20 /* 00000DFA */
  1172. 00000DDE  487A 00AA                pea.l      [PC + 0xAA /* 00000E8A, value 0x3A206F70 ': op', pstring " open the file.  You will not be able to make a text file." */]
  1173. 00000DE2  4EBA F220                jsr        [PC - 0xDE0 /* 00000004 */]
  1174. 00000DE6  558F                     subq.l     A7, 2
  1175. 00000DE8  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1176. 00000DEC  4EBA 0496                jsr        [PC + 0x496 /* 00001284 */]
  1177. 00000DF0  3E1F                     move.w     D7, [A7]+
  1178. 00000DF2  3B47 FF72                move.w     [A5 - 0x8E], D7
  1179. 00000DF6  4EFA 004E                jmp        [PC + 0x4E /* 00000E46 */]
  1180. label00000DFA:
  1181. 00000DFA  558F                     subq.l     A7, 2
  1182. 00000DFC  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1183. 00000E00  486D FF74                pea.l      [A5 - 0x8C]
  1184. 00000E04  2F2D FF78                move.l     -[A7], [A5 - 0x88]
  1185. 00000E08  4EBA 049A                jsr        [PC + 0x49A /* 000012A4 */]
  1186. 00000E0C  3E1F                     move.w     D7, [A7]+
  1187. 00000E0E  3B47 FF72                move.w     [A5 - 0x8E], D7
  1188. 00000E12  4A6D FF72                tst.w      [A5 - 0x8E]
  1189. 00000E16  6700 001E                beq        +0x20 /* 00000E36 */
  1190. 00000E1A  487A 0032                pea.l      [PC + 0x32 /* 00000E4E, value 0x3B207772 '; wr', pstring " write the file.  You will not be able to make a text file." */]
  1191. 00000E1E  4EBA F1E4                jsr        [PC - 0xE1C /* 00000004 */]
  1192. 00000E22  558F                     subq.l     A7, 2
  1193. 00000E24  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1194. 00000E28  4EBA 045A                jsr        [PC + 0x45A /* 00001284 */]
  1195. 00000E2C  3E1F                     move.w     D7, [A7]+
  1196. 00000E2E  3B47 FF72                move.w     [A5 - 0x8E], D7
  1197. 00000E32  4EFA 0012                jmp        [PC + 0x12 /* 00000E46 */]
  1198. label00000E36:
  1199. 00000E36  558F                     subq.l     A7, 2
  1200. 00000E38  3F2D FF6E                move.w     -[A7], [A5 - 0x92]
  1201. 00000E3C  4EBA 0446                jsr        [PC + 0x446 /* 00001284 */]
  1202. 00000E40  3E1F                     move.w     D7, [A7]+
  1203. 00000E42  3B47 FF72                move.w     [A5 - 0x8E], D7
  1204. label00000E46:
  1205. 00000E46  4CDF 0080                movem.l    D7, [A7]+
  1206. 00000E4A  4E5E                     unlink     A6
  1207. 00000E4C  4E75                     rts
  1208. 00000E4E  3B20                     move.w     -[A5], -[A0]
  1209. 00000E50  7772                     moveq.l    D3, 0x72
  1210. 00000E52  6974                     bvs        +0x76 /* 00000EC8 */
  1211. 00000E54  6520                     bcs        +0x22 /* 00000E76 */
  1212. 00000E56  7468                     moveq.l    D2, 0x68
  1213. 00000E58  6520                     bcs        +0x22 /* 00000E7A */
  1214. 00000E5A  6669                     bne        +0x6B /* 00000EC5 */
  1215. 00000E5C  6C65                     bge        +0x67 /* 00000EC3 */
  1216. 00000E5E  2E20                     move.l     D7, -[A0]
  1217. 00000E60  2059                     movea.l    A0, [A1]+
  1218. 00000E62  6F75                     ble        +0x77 /* 00000ED9 */
  1219. 00000E64  2077 696C                movea.l    A0, <<invalid full ext with I/IS == 4>>
  1220. 00000E68  6C20                     bge        +0x22 /* 00000E8A */
  1221. 00000E6A  6E6F                     bgt        +0x71 /* 00000EDB */
  1222. 00000E6C  7420                     moveq.l    D2, 0x20
  1223. 00000E6E  6265                     bhi        +0x67 /* 00000ED5 */
  1224. 00000E70  2061                     movea.l    A0, -[A1]
  1225. 00000E72  626C                     bhi        +0x6E /* 00000EE0 */
  1226. 00000E74  6520                     bcs        +0x22 /* 00000E96 */
  1227. label00000E76:
  1228. 00000E76  746F                     moveq.l    D2, 0x6F
  1229. 00000E78  206D 616B                movea.l    A0, [A5 + 0x616B]
  1230. // begin alternate branch 00000E7A-00000E7C
  1231. label00000E7A:
  1232. 00000E7A  616B                     bsr        +0x6D /* 00000EE7 */
  1233. // end alternate branch 00000E7A-00000E7C
  1234. label00000E7A: // (misaligned)
  1235. 00000E7C  6520                     bcs        +0x22 /* 00000E9E */
  1236. 00000E7E  6120                     bsr        +0x22 /* 00000EA0 */
  1237. 00000E80  7465                     moveq.l    D2, 0x65
  1238. 00000E82  7874                     moveq.l    D4, 0x74
  1239. 00000E84  2066                     movea.l    A0, -[A6]
  1240. 00000E86  696C                     bvs        +0x6E /* 00000EF4 */
  1241. 00000E88  652E                     bcs        +0x30 /* 00000EB8 */
  1242. label00000E8A:
  1243. 00000E8A  3A20                     move.w     D5, -[A0]
  1244. 00000E8C  6F70                     ble        +0x72 /* 00000EFE */
  1245. 00000E8E  656E                     bcs        +0x70 /* 00000EFE */
  1246. 00000E90  2074 6865                movea.l    A0, [A4 + D6 + 0x65]
  1247. 00000E94  2066                     movea.l    A0, -[A6]
  1248. label00000E96:
  1249. 00000E96  696C                     bvs        +0x6E /* 00000F04 */
  1250. 00000E98  652E                     bcs        +0x30 /* 00000EC8 */
  1251. 00000E9A  2020                     move.l     D0, -[A0]
  1252. 00000E9C  596F 7520                subq.w     [A7 + 0x7520], 4
  1253. // begin alternate branch 00000E9E-00000EA0
  1254. label00000E9E:
  1255. 00000E9E  7520                     moveq.l    D2, 0x20
  1256. // end alternate branch 00000E9E-00000EA0
  1257. label00000E9E: // (misaligned)
  1258. fn00000EA0:
  1259. 00000EA0  7769                     moveq.l    D3, 0x69
  1260. 00000EA2  6C6C                     bge        +0x6E /* 00000F10 */
  1261. 00000EA4  206E 6F74                movea.l    A0, [A6 + 0x6F74]
  1262. 00000EA8  2062                     movea.l    A0, -[A2]
  1263. 00000EAA  6520                     bcs        +0x22 /* 00000ECC */
  1264. 00000EAC  6162                     bsr        +0x64 /* 00000F10 */
  1265. 00000EAE  6C65                     bge        +0x67 /* 00000F15 */
  1266. 00000EB0  2074 6F20 6D61           movea.l    A0, [A4 + 0x6D61 + D6 * 8]
  1267. 00000EB6  6B65                     bmi        +0x67 /* 00000F1D */
  1268. label00000EB8:
  1269. 00000EB8  2061                     movea.l    A0, -[A1]
  1270. 00000EBA  2074 6578 7420 6669      movea.l    A0, [A4 + 0x74206669]
  1271. 00000EC2  6C65                     bge        +0x67 /* 00000F29 */
  1272. 00000EC4  2E00                     move.l     D7, D0
  1273. 00000EC6  3C20                     move.w     D6, -[A0]
  1274. label00000EC8:
  1275. 00000EC8  6372                     bls        +0x74 /* 00000F3C */
  1276. 00000ECA  6561                     bcs        +0x63 /* 00000F2D */
  1277. label00000ECC:
  1278. 00000ECC  7465                     moveq.l    D2, 0x65
  1279. 00000ECE  2074 6865                movea.l    A0, [A4 + D6 + 0x65]
  1280. 00000ED2  2066                     movea.l    A0, -[A6]
  1281. 00000ED4  696C                     bvs        +0x6E /* 00000F42 */
  1282. 00000ED6  652E                     bcs        +0x30 /* 00000F06 */
  1283. 00000ED8  2020                     move.l     D0, -[A0]
  1284. 00000EDA  596F 7520                subq.w     [A7 + 0x7520], 4
  1285. 00000EDE  7769                     moveq.l    D3, 0x69
  1286. label00000EE0:
  1287. 00000EE0  6C6C                     bge        +0x6E /* 00000F4E */
  1288. 00000EE2  206E 6F74                movea.l    A0, [A6 + 0x6F74]
  1289. 00000EE6  2062                     movea.l    A0, -[A2]
  1290. 00000EE8  6520                     bcs        +0x22 /* 00000F0A */
  1291. 00000EEA  6162                     bsr        +0x64 /* 00000F4E */
  1292. 00000EEC  6C65                     bge        +0x67 /* 00000F53 */
  1293. 00000EEE  2074 6F20 6D61           movea.l    A0, [A4 + 0x6D61 + D6 * 8]
  1294. label00000EF4:
  1295. 00000EF4  6B65                     bmi        +0x67 /* 00000F5B */
  1296. 00000EF6  2061                     movea.l    A0, -[A1]
  1297. 00000EF8  2074 6578 7420 6669      movea.l    A0, [A4 + 0x74206669]
  1298. // begin alternate branch 00000EFE-00000F00
  1299. label00000EFE:
  1300. 00000EFE  6669                     bne        +0x6B /* 00000F69 */
  1301. // end alternate branch 00000EFE-00000F00
  1302. label00000EFE: // (misaligned)
  1303. 00000F00  6C65                     bge        +0x67 /* 00000F67 */
  1304. 00000F02  2E00                     move.l     D7, D0
  1305. label00000F04:
  1306. 00000F04  5445                     addq.w     D5, 2
  1307. label00000F06:
  1308. 00000F06  5854                     addq.w     [A4], 4
  1309. 00000F08  4544                     chk.w      D2, D4
  1310. label00000F0A:
  1311. 00000F0A  4954                     chk.w      D4, [A4]
  1312. 00000F0C  3A20                     move.w     D5, -[A0]
  1313. 00000F0E  7265                     moveq.l    D1, 0x65
  1314. fn00000F10:
  1315. 00000F10  6164                     bsr        +0x66 /* 00000F76 */
  1316. 00000F12  2074 6865                movea.l    A0, [A4 + D6 + 0x65]
  1317. 00000F16  2066                     movea.l    A0, -[A6]
  1318. 00000F18  696C                     bvs        +0x6E /* 00000F86 */
  1319. 00000F1A  652E                     bcs        +0x30 /* 00000F4A */
  1320. 00000F1C  2020                     move.l     D0, -[A0]
  1321. 00000F1E  596F 7520                subq.w     [A7 + 0x7520], 4
  1322. 00000F22  7769                     moveq.l    D3, 0x69
  1323. 00000F24  6C6C                     bge        +0x6E /* 00000F92 */
  1324. 00000F26  206E 6F74                movea.l    A0, [A6 + 0x6F74]
  1325. 00000F2A  2062                     movea.l    A0, -[A2]
  1326. 00000F2C  6520                     bcs        +0x22 /* 00000F4E */
  1327. 00000F2E  6162                     bsr        +0x64 /* 00000F92 */
  1328. 00000F30  6C65                     bge        +0x67 /* 00000F97 */
  1329. 00000F32  2074 6F20 6D61           movea.l    A0, [A4 + 0x6D61 + D6 * 8]
  1330. 00000F38  6B65                     bmi        +0x67 /* 00000F9F */
  1331. 00000F3A  2061                     movea.l    A0, -[A1]
  1332. label00000F3C:
  1333. 00000F3C  2074 6578 7420 6669      movea.l    A0, [A4 + 0x74206669]
  1334. // begin alternate branch 00000F42-00000F44
  1335. label00000F42:
  1336. 00000F42  6669                     bne        +0x6B /* 00000FAD */
  1337. // end alternate branch 00000F42-00000F44
  1338. label00000F42: // (misaligned)
  1339. 00000F44  6C65                     bge        +0x67 /* 00000FAB */
  1340. 00000F46  2E00                     move.l     D7, D0
  1341. 00000F48  1267                     movea.b    A1, -[A7]
  1342. label00000F4A:
  1343. 00000F4A  6574                     bcs        +0x76 /* 00000FC0 */
  1344. 00000F4C  2065                     movea.l    A0, -[A5]
  1345. fn00000F4E:
  1346. 00000F4E  6E6F                     bgt        +0x71 /* 00000FBF */
  1347. 00000F50  7567                     moveq.l    D2, 0x67
  1348. 00000F52  6820                     bvc        +0x22 /* 00000F74 */
  1349. 00000F54  6D65                     blt        +0x67 /* 00000FBB */
  1350. 00000F56  6D6F                     blt        +0x71 /* 00000FC7 */
  1351. 00000F58  7279                     moveq.l    D1, 0x79
  1352. 00000F5A  2E00                     move.l     D7, D0
  1353. 00000F5C  3367 6574                move.w     [A1 + 0x6574], -[A7]
  1354. 00000F60  2045                     movea.l    A0, D5
  1355. 00000F62  4F46                     chk.w      D7, D6
  1356. 00000F64  2E20                     move.l     D7, -[A0]
  1357. 00000F66  2059                     movea.l    A0, [A1]+
  1358. 00000F68  6F75                     ble        +0x77 /* 00000FDF */
  1359. 00000F6A  2077 696C                movea.l    A0, <<invalid full ext with I/IS == 4>>
  1360. 00000F6E  6C20                     bge        +0x22 /* 00000F90 */
  1361. 00000F70  6E6F                     bgt        +0x71 /* 00000FE1 */
  1362. 00000F72  7420                     moveq.l    D2, 0x20
  1363. label00000F74:
  1364. 00000F74  6265                     bhi        +0x67 /* 00000FDB */
  1365. fn00000F76:
  1366. 00000F76  2061                     movea.l    A0, -[A1]
  1367. 00000F78  626C                     bhi        +0x6E /* 00000FE6 */
  1368. 00000F7A  6520                     bcs        +0x22 /* 00000F9C */
  1369. 00000F7C  746F                     moveq.l    D2, 0x6F
  1370. 00000F7E  206D 616B                movea.l    A0, [A5 + 0x616B]
  1371. 00000F82  6520                     bcs        +0x22 /* 00000FA4 */
  1372. 00000F84  6120                     bsr        +0x22 /* 00000FA6 */
  1373. label00000F86:
  1374. 00000F86  7465                     moveq.l    D2, 0x65
  1375. 00000F88  7874                     moveq.l    D4, 0x74
  1376. 00000F8A  2066                     movea.l    A0, -[A6]
  1377. 00000F8C  696C                     bvs        +0x6E /* 00000FFA */
  1378. 00000F8E  652E                     bcs        +0x30 /* 00000FBE */
  1379. label00000F90:
  1380. 00000F90  3A20                     move.w     D5, -[A0]
  1381. fn00000F92:
  1382. 00000F92  6F70                     ble        +0x72 /* 00001004 */
  1383. 00000F94  656E                     bcs        +0x70 /* 00001004 */
  1384. 00000F96  2074 6865                movea.l    A0, [A4 + D6 + 0x65]
  1385. 00000F9A  2066                     movea.l    A0, -[A6]
  1386. label00000F9C:
  1387. 00000F9C  696C                     bvs        +0x6E /* 0000100A */
  1388. 00000F9E  652E                     bcs        +0x30 /* 00000FCE */
  1389. 00000FA0  2020                     move.l     D0, -[A0]
  1390. 00000FA2  596F 7520                subq.w     [A7 + 0x7520], 4
  1391. // begin alternate branch 00000FA4-00000FA6
  1392. label00000FA4:
  1393. 00000FA4  7520                     moveq.l    D2, 0x20
  1394. // end alternate branch 00000FA4-00000FA6
  1395. label00000FA4: // (misaligned)
  1396. fn00000FA6:
  1397. 00000FA6  7769                     moveq.l    D3, 0x69
  1398. 00000FA8  6C6C                     bge        +0x6E /* 00001016 */
  1399. 00000FAA  206E 6F74                movea.l    A0, [A6 + 0x6F74]
  1400. 00000FAE  2062                     movea.l    A0, -[A2]
  1401. 00000FB0  6520                     bcs        +0x22 /* 00000FD2 */
  1402. 00000FB2  6162                     bsr        +0x64 /* 00001016 */
  1403. 00000FB4  6C65                     bge        +0x67 /* 0000101B */
  1404. 00000FB6  2074 6F20 6D61           movea.l    A0, [A4 + 0x6D61 + D6 * 8]
  1405. 00000FBC  6B65                     bmi        +0x67 /* 00001023 */
  1406. label00000FBE:
  1407. 00000FBE  2061                     movea.l    A0, -[A1]
  1408. label00000FC0:
  1409. 00000FC0  2074 6578 7420 6669      movea.l    A0, [A4 + 0x74206669]
  1410. 00000FC8  6C65                     bge        +0x67 /* 0000102F */
  1411. 00000FCA  2E00                     move.l     D7, D0
  1412. 00000FCC  0855 6E74                bchg.b     [A5], 0x74 /* 't' */
  1413. // begin alternate branch 00000FCE-00000FD0
  1414. label00000FCE:
  1415. 00000FCE  6E74                     bgt        +0x76 /* 00001044 */
  1416. // end alternate branch 00000FCE-00000FD0
  1417. label00000FCE: // (misaligned)
  1418. 00000FD0  6974                     bvs        +0x76 /* 00001046 */
  1419. label00000FD2:
  1420. 00000FD2  6C65                     bge        +0x67 /* 00001039 */
  1421. 00000FD4  6400 1743                bcc        +0x1745 /* 00002719 */
  1422. 00000FD8  7265                     moveq.l    D1, 0x65
  1423. 00000FDA  6174                     bsr        +0x76 /* 00001050 */
  1424. 00000FDC  6520                     bcs        +0x22 /* 00000FFE */
  1425. 00000FDE  7465                     moveq.l    D2, 0x65
  1426. 00000FE0  7874                     moveq.l    D4, 0x74
  1427. 00000FE2  2066                     movea.l    A0, -[A6]
  1428. 00000FE4  696C                     bvs        +0x6E /* 00001052 */
  1429. label00000FE6:
  1430. 00000FE6  6520                     bcs        +0x22 /* 00001008 */
  1431. 00000FE8  6E61                     bgt        +0x63 /* 0000104B */
  1432. 00000FEA  6D65                     blt        +0x67 /* 00001051 */
  1433. 00000FEC  643A                     bcc        +0x3C /* 00001028 */
  1434. 00000FEE  4E56 0000                link       A6, 0
  1435. 00000FF2  48E7 0100                movem.l    -[A7], D7
  1436. 00000FF6  4EFA 0022                jmp        [PC + 0x22 /* 0000101A */]
  1437. label00000FFA:
  1438. 00000FFA  4EBA F074                jsr        [PC - 0xF8C /* 00000070 */]
  1439. label00000FFE:
  1440. 00000FFE  4EFA 0048                jmp        [PC + 0x48 /* 00001048 */]
  1441. 00001002  4EBA F09C                jsr        [PC - 0xF64 /* 000000A0 */]
  1442. // begin alternate branch 00001004-00001008
  1443. label00001004:
  1444. 00001004  F09C 4EFA                .extension 0x09C <<F/2-3/0>> // unimplemented
  1445. // end alternate branch 00001004-00001008
  1446. label00001004: // (misaligned)
  1447. 00001006  4EFA 0040                jmp        [PC + 0x40 /* 00001048 */]
  1448. // begin alternate branch 00001008-00001016
  1449. label00001008:
  1450. 00001008  0040 4EBA                ori.w      D0, 0x4EBA
  1451. label0000100A: // (misaligned)
  1452. 0000100C  FC5C 4EFA                .extension 0xC5C <<F/1/6>>, 0x4EFA // unimplemented
  1453. 00001010  0038 4EBA 0FEC           ori.b      [0x00000FEC], 0xBA
  1454. // end alternate branch 00001008-00001016
  1455. label00001008: // (misaligned)
  1456. label0000100A:
  1457. 0000100A  4EBA FC5C                jsr        [PC - 0x3A4 /* 00000C68 */]
  1458. 0000100E  4EFA 0038                jmp        [PC + 0x38 /* 00001048 */]
  1459. 00001012  4EBA 0FEC                jsr        [PC + 0xFEC /* 00002000 */]
  1460. fn00001016:
  1461. 00001016  4EFA 0030                jmp        [PC + 0x30 /* 00001048 */]
  1462. label0000101A:
  1463. 0000101A  3E2E 0008                move.w     D7, [A6 + 0x8]
  1464. 0000101E  0C47 0001                cmpi.w     D7, 0x1
  1465. 00001022  6D00 0024                blt        +0x26 /* 00001048 */
  1466. 00001026  0C47 0006                cmpi.w     D7, 0x6
  1467. // begin alternate branch 00001028-00001034
  1468. label00001028:
  1469. 00001028  0006 6E00                ori.b      D6, 0x0
  1470. 0000102C  001C 0447                ori.b      [A4]+, 0x47 /* 'G' */
  1471. 00001030  0001 DE47                ori.b      D1, 0x47 /* 'G' */
  1472. // end alternate branch 00001028-00001034
  1473. label00001028: // (misaligned)
  1474. 0000102A  6E00 001C                bgt        +0x1E /* 00001048 */
  1475. 0000102E  0447 0001                subi.w     D7, 0x1
  1476. 00001032  DE47                     add.w      D7, D7
  1477. 00001034  3E3B 7006                move.w     D7, [PC + D7.w + 0x6]
  1478. 00001038  4EFB 7002                jmp        [PC + D7.w + 0x2]
  1479. 0000103C  FFBE                     .invalid   <<F/6/7>>
  1480. 0000103E  FFC6                     .invalid   <<F/7/7>>
  1481. 00001040  000C FFCE                ori.b      A4, 0xCE
  1482. label00001044:
  1483. 00001044  000C FFD6                ori.b      A4, 0xD6
  1484. // begin alternate branch 00001046-00001048
  1485. label00001046:
  1486. 00001046  FFD6                     .invalid   <<F/7/7>>
  1487. // end alternate branch 00001046-00001048
  1488. label00001046: // (misaligned)
  1489. label00001048:
  1490. 00001048  4CDF 0080                movem.l    D7, [A7]+
  1491. 0000104C  4E5E                     unlink     A6
  1492. 0000104E  205F                     movea.l    A0, [A7]+
  1493. fn00001050:
  1494. 00001050  548F                     addq.l     A7, 2
  1495. label00001052:
  1496. 00001052  4ED0                     jmp        [A0]
  1497. label00001054:
  1498. 00001054  2C7C 0000 0000           movea.l    A6, 0x0
  1499. 0000105A  4E56 0000                link       A6, 0
  1500. 0000105E  49ED FE0A                lea.l      A4, [A5 - 0x1F6]
  1501. 00001062  2F0C                     move.l     -[A7], A4
  1502. 00001064  A86E                     syscall    InitGraf
  1503. 00001066  A8FE                     syscall    InitFonts
  1504. 00001068  A912                     syscall    InitWindows
  1505. 0000106A  A930                     syscall    InitMenus
  1506. 0000106C  A9CC                     syscall    TEInit
  1507. 0000106E  42A7                     clr.l      -[A7]
  1508. 00001070  A97B                     syscall    InitDialogs
  1509. 00001072  3F3C FFFF                move.w     -[A7], 0xFFFF
  1510. 00001076  4267                     clr.w      -[A7]
  1511. 00001078  201F                     move.l     D0, [A7]+
  1512. 0000107A  A032                     syscall    FlushEvents
  1513. 0000107C  4EBA 0DF6                jsr        [PC + 0xDF6 /* 00001E74 */]
  1514. 00001080  4EBA F836                jsr        [PC - 0x7CA /* 000008B8 */]
  1515. 00001084  1B7C 0001 FFF4           move.b     [A5 - 0xC], 0x1
  1516. 0000108A  598F                     subq.l     A7, 4
  1517. 0000108C  2F3C 0000 0078           move.l     -[A7], 0x78 /* 'x' */
  1518. 00001092  4EBA 018C                jsr        [PC + 0x18C /* 00001220 */]
  1519. 00001096  2E1F                     move.l     D7, [A7]+
  1520. 00001098  2B47 FF22                move.l     [A5 - 0xDE], D7
  1521. 0000109C  4EBA 046A                jsr        [PC + 0x46A /* 00001508 */]
  1522. 000010A0  558F                     subq.l     A7, 2
  1523. 000010A2  4EBA 04B4                jsr        [PC + 0x4B4 /* 00001558 */]
  1524. 000010A6  3E1F                     move.w     D7, [A7]+
  1525. 000010A8  4A47                     tst.w      D7
  1526. 000010AA  6700 000E                beq        +0x10 /* 000010BA */
  1527. 000010AE  422D FFF4                clr.b      [A5 - 0xC]
  1528. 000010B2  487A 00C2                pea.l      [PC + 0xC2 /* 00001176, value 0x37206F70 '7 op', pstring " open the print driver.  You will not be able to print." */]
  1529. 000010B6  4EBA EF4C                jsr        [PC - 0x10B4 /* 00000004 */]
  1530. label000010BA:
  1531. 000010BA  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  1532. 000010BE  4EBA 033E                jsr        [PC + 0x33E /* 000013FE */]
  1533. 000010C2  598F                     subq.l     A7, 4
  1534. 000010C4  3F3C 0004                move.w     -[A7], 0x4
  1535. 000010C8  A9B9                     syscall    GetCursor
  1536. 000010CA  2E1F                     move.l     D7, [A7]+
  1537. 000010CC  2B47 FF26                move.l     [A5 - 0xDA], D7
  1538. 000010D0  286D FF26                movea.l    A4, [A5 - 0xDA]
  1539. 000010D4  2854                     movea.l    A4, [A4]
  1540. 000010D6  47ED FF2A                lea.l      A3, [A5 - 0xD6]
  1541. 000010DA  3E3C 0043                move.w     D7, 0x43 /* 'C' */
  1542. label000010DE:
  1543. 000010DE  16DC                     move.b     [A3]+, [A4]+
  1544. 000010E0  51CF FFFC                dbf        D7, -0x6 /* 000010DE */
  1545. 000010E4  487A 0080                pea.l      [PC + 0x80 /* 00001166, value 0xF41626F, pstring "About Letter..." */]
  1546. 000010E8  49FA FB4A                lea.l      A4, [PC - 0x4B6 /* 00000C34, value 0x4E560000 'NV\0\0', cstring "NV" */]
  1547. 000010EC  2F0C                     move.l     -[A7], A4
  1548. 000010EE  4EBA 10F8                jsr        [PC + 0x10F8 /* 000021E8 */]
  1549. 000010F2  598F                     subq.l     A7, 4
  1550. 000010F4  3F3C 0002                move.w     -[A7], 0x2
  1551. 000010F8  487A 0066                pea.l      [PC + 0x66 /* 00001160, value 0x446696C, pstring "File" */]
  1552. 000010FC  A931                     syscall    NewMenu
  1553. 000010FE  2E1F                     move.l     D7, [A7]+
  1554. 00001100  2B47 FE0E                move.l     [A5 - 0x1F2], D7
  1555. 00001104  2F2D FE0E                move.l     -[A7], [A5 - 0x1F2]
  1556. 00001108  487A 0024                pea.l      [PC + 0x24 /* 0000112E, value 0x30506167 '0Pag', pstring "Page Setup...;Print...;(-;Make text...;(-;Quit/Q" */]
  1557. 0000110C  A933                     syscall    AppendMenu
  1558. 0000110E  2F2D FE0E                move.l     -[A7], [A5 - 0x1F2]
  1559. 00001112  49FA FEDA                lea.l      A4, [PC - 0x126 /* 00000FEE, value 0x4E560000 'NV\0\0', cstring "NV" */]
  1560. 00001116  2F0C                     move.l     -[A7], A4
  1561. 00001118  42A7                     clr.l      -[A7]
  1562. 0000111A  4EBA 0F42                jsr        [PC + 0xF42 /* 0000205E */]
  1563. 0000111E  4EBA 0DE4                jsr        [PC + 0xDE4 /* 00001F04 */]
  1564. 00001122  4EBA 0EF2                jsr        [PC + 0xEF2 /* 00002016 */]
  1565. 00001126  4EBA 03E8                jsr        [PC + 0x3E8 /* 00001510 */]
  1566. 0000112A  4E5E                     unlink     A6
  1567. 0000112C  4E75                     rts
  1568. 0000112E  3050                     movea.w    A0, [A0]
  1569. 00001130  6167                     bsr        +0x69 /* 00001199 */
  1570. 00001132  6520                     bcs        +0x22 /* 00001154 */
  1571. 00001134  5365                     subq.w     -[A5], 1
  1572. 00001136  7475                     moveq.l    D2, 0x75
  1573. 00001138  702E                     moveq.l    D0, 0x2E
  1574. 0000113A  2E2E 3B50                move.l     D7, [A6 + 0x3B50]
  1575. 0000113E  7269                     moveq.l    D1, 0x69
  1576. 00001140  6E74                     bgt        +0x76 /* 000011B6 */
  1577. 00001142  2E2E 2E3B                move.l     D7, [A6 + 0x2E3B]
  1578. 00001146  282D 3B4D                move.l     D4, [A5 + 0x3B4D]
  1579. 0000114A  616B                     bsr        +0x6D /* 000011B7 */
  1580. 0000114C  6520                     bcs        +0x22 /* 0000116E */
  1581. 0000114E  7465                     moveq.l    D2, 0x65
  1582. 00001150  7874                     moveq.l    D4, 0x74
  1583. 00001152  2E2E 2E3B                move.l     D7, [A6 + 0x2E3B]
  1584. // begin alternate branch 00001154-0000115C
  1585. label00001154:
  1586. 00001154  2E3B 282D                move.l     D7, [PC + D2 + 0x2D]
  1587. 00001158  3B51 7569                move.w     [A5 + 0x7569], [A1]
  1588. // end alternate branch 00001154-0000115C
  1589. label00001154: // (misaligned)
  1590. 00001156  282D 3B51                move.l     D4, [A5 + 0x3B51]
  1591. 0000115A  7569                     moveq.l    D2, 0x69
  1592. 0000115C  742F                     moveq.l    D2, 0x2F
  1593. 0000115E  5100                     subq.b     D0, 8
  1594. 00001160  0446 696C                subi.w     D6, 0x696C /* 'il' */
  1595. 00001164  6500 0F41                bcs        +0xF43 /* 000020A7 */
  1596. 00001168  626F                     bhi        +0x71 /* 000011D9 */
  1597. 0000116A  7574                     moveq.l    D2, 0x74
  1598. 0000116C  204C                     movea.l    A0, A4
  1599. label0000116E:
  1600. 0000116E  6574                     bcs        +0x76 /* 000011E4 */
  1601. 00001170  7465                     moveq.l    D2, 0x65
  1602. 00001172  722E                     moveq.l    D1, 0x2E
  1603. 00001174  2E2E 3720                move.l     D7, [A6 + 0x3720]
  1604. 00001178  6F70                     ble        +0x72 /* 000011EA */
  1605. 0000117A  656E                     bcs        +0x70 /* 000011EA */
  1606. 0000117C  2074 6865                movea.l    A0, [A4 + D6 + 0x65]
  1607. 00001180  2070 7269                movea.l    A0, [A0 + D7.w * 2 + 0x69]
  1608. 00001184  6E74                     bgt        +0x76 /* 000011FA */
  1609. 00001186  2064                     movea.l    A0, -[A4]
  1610. 00001188  7269                     moveq.l    D1, 0x69
  1611. 0000118A  7665                     moveq.l    D3, 0x65
  1612. 0000118C  722E                     moveq.l    D1, 0x2E
  1613. 0000118E  2020                     move.l     D0, -[A0]
  1614. 00001190  596F 7520                subq.w     [A7 + 0x7520], 4
  1615. 00001194  7769                     moveq.l    D3, 0x69
  1616. 00001196  6C6C                     bge        +0x6E /* 00001204 */
  1617. 00001198  206E 6F74                movea.l    A0, [A6 + 0x6F74]
  1618. 0000119C  2062                     movea.l    A0, -[A2]
  1619. 0000119E  6520                     bcs        +0x22 /* 000011C0 */
  1620. 000011A0  6162                     bsr        +0x64 /* 00001204 */
  1621. 000011A2  6C65                     bge        +0x67 /* 00001209 */
  1622. 000011A4  2074 6F20 7072           movea.l    A0, [A4 + 0x7072 + D6 * 8]
  1623. 000011AA  696E                     bvs        +0x70 /* 0000121A */
  1624. 000011AC  742E                     moveq.l    D2, 0x2E
  1625. fn000011AE:
  1626. 000011AE  2016                     move.l     D0, [A6]
  1627. 000011B0  6704                     beq        +0x6 /* 000011B6 */
  1628. 000011B2  2C40                     movea.l    A6, D0
  1629. 000011B4  60F8                     bra        -0x6 /* 000011AE */
  1630. label000011B6:
  1631. 000011B6  4E5E                     unlink     A6
  1632. 000011B8  4E75                     rts
  1633. fn000011BA:
  1634. 000011BA  241F                     move.l     D2, [A7]+
  1635. 000011BC  225F                     movea.l    A1, [A7]+
  1636. 000011BE  321F                     move.w     D1, [A7]+
  1637. label000011C0:
  1638. 000011C0  205F                     movea.l    A0, [A7]+
  1639. 000011C2  301F                     move.w     D0, [A7]+
  1640. 000011C4  2F02                     move.l     -[A7], D2
  1641. 000011C6  3400                     move.w     D2, D0
  1642. 000011C8  B041                     cmp.w      D0, D1
  1643. 000011CA  6F02                     ble        +0x4 /* 000011CE */
  1644. 000011CC  3401                     move.w     D2, D1
  1645. label000011CE:
  1646. 000011CE  5342                     subq.w     D2, 1
  1647. 000011D0  6D08                     blt        +0xA /* 000011DA */
  1648. label000011D2:
  1649. 000011D2  B109                     cmpm.b     [A0]+, [A1]+
  1650. 000011D4  6606                     bne        +0x8 /* 000011DC */
  1651. 000011D6  51CA FFFA                dbf        D2, -0x8 /* 000011D2 */
  1652. label000011DA:
  1653. 000011DA  B041                     cmp.w      D0, D1
  1654. label000011DC:
  1655. 000011DC  4E75                     rts
  1656. 000011DE  225F                     movea.l    A1, [A7]+
  1657. 000011E0  201F                     move.l     D0, [A7]+
  1658. 000011E2  A04C                     syscall    CompactMem
  1659. label000011E4:
  1660. 000011E4  2E80                     move.l     [A7], D0
  1661. 000011E6  4E71                     nop
  1662. label000011E8:
  1663. 000011E8  7000                     moveq.l    D0, 0x00
  1664. label000011EA:
  1665. 000011EA  2F09                     move.l     -[A7], A1
  1666. label000011EC:
  1667. 000011EC  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  1668. 000011F0  4E75                     rts
  1669. 000011F2  7000                     moveq.l    D0, 0x00
  1670. 000011F4  60F6                     bra        -0x8 /* 000011EC */
  1671. fn000011F6:
  1672. 000011F6  225F                     movea.l    A1, [A7]+
  1673. 000011F8  201F                     move.l     D0, [A7]+
  1674. label000011FA:
  1675. 000011FA  A11E                     syscall    NewPtr, flags=1
  1676. 000011FC  2E88                     move.l     [A7], A0
  1677. 000011FE  4EFA FFEA                jmp        [PC - 0x16 /* 000011EA */]
  1678. fn00001202:
  1679. 00001202  225F                     movea.l    A1, [A7]+
  1680. fn00001204:
  1681. 00001204  205F                     movea.l    A0, [A7]+
  1682. 00001206  A01F                     syscall    DisposPtr/DisposePtr
  1683. 00001208  4EFA FFE0                jmp        [PC - 0x20 /* 000011EA */]
  1684. fn0000120C:
  1685. 0000120C  225F                     movea.l    A1, [A7]+
  1686. 0000120E  205F                     movea.l    A0, [A7]+
  1687. 00001210  A021                     syscall    GetPtrSize
  1688. 00001212  2E80                     move.l     [A7], D0
  1689. 00001214  6A06                     bpl        +0x8 /* 0000121C */
  1690. 00001216  4297                     clr.l      [A7]
  1691. 00001218  4EFA FFD0                jmp        [PC - 0x30 /* 000011EA */]
  1692. // begin alternate branch 0000121A-0000121C
  1693. label0000121A:
  1694. 0000121A  FFD0                     .invalid   <<F/7/7>>
  1695. // end alternate branch 0000121A-0000121C
  1696. label0000121A: // (misaligned)
  1697. label0000121C:
  1698. 0000121C  4EFA FFCA                jmp        [PC - 0x36 /* 000011E8 */]
  1699. fn00001220:
  1700. 00001220  225F                     movea.l    A1, [A7]+
  1701. 00001222  201F                     move.l     D0, [A7]+
  1702. 00001224  A122                     syscall    NewHandle, flags=1
  1703. 00001226  2E88                     move.l     [A7], A0
  1704. 00001228  4EFA FFC0                jmp        [PC - 0x40 /* 000011EA */]
  1705. fn0000122C:
  1706. 0000122C  225F                     movea.l    A1, [A7]+
  1707. 0000122E  205F                     movea.l    A0, [A7]+
  1708. 00001230  A023                     syscall    DisposHandle/DisposeHandle
  1709. 00001232  4EFA FFB6                jmp        [PC - 0x4A /* 000011EA */]
  1710. fn00001236:
  1711. 00001236  225F                     movea.l    A1, [A7]+
  1712. 00001238  205F                     movea.l    A0, [A7]+
  1713. 0000123A  A029                     syscall    HLock
  1714. 0000123C  4EFA FFAC                jmp        [PC - 0x54 /* 000011EA */]
  1715. fn00001240:
  1716. 00001240  225F                     movea.l    A1, [A7]+
  1717. 00001242  205F                     movea.l    A0, [A7]+
  1718. 00001244  A02A                     syscall    HUnlock
  1719. 00001246  4EFA FFA2                jmp        [PC - 0x5E /* 000011EA */]
  1720. fn0000124A:
  1721. 0000124A  4E56 FFCE                link       A6, -0x0032
  1722. 0000124E  41EE FFCE                lea.l      A0, [A6 - 0x32]
  1723. 00001252  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  1724. 00001258  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  1725. 0000125E  4228 001A                clr.b      [A0 + 0x1A]
  1726. 00001262  4228 001B                clr.b      [A0 + 0x1B]
  1727. 00001266  42A8 001C                clr.l      [A0 + 0x1C]
  1728. 0000126A  A000                     syscall    Open/PBHOpen/HOpen
  1729. 0000126C  226E 0008                movea.l    A1, [A6 + 0x8]
  1730. 00001270  32A8 0018                move.w     [A1], [A0 + 0x18]
  1731. 00001274  3D40 0012                move.w     [A6 + 0x12], D0
  1732. 00001278  4E5E                     unlink     A6
  1733. 0000127A  205F                     movea.l    A0, [A7]+
  1734. 0000127C  DFFC 0000 000A           add.l      A7, 0xA /* '\n' */
  1735. 00001282  4ED0                     jmp        [A0]
  1736. fn00001284:
  1737. 00001284  4E56 FFCE                link       A6, -0x0032
  1738. 00001288  41EE FFCE                lea.l      A0, [A6 - 0x32]
  1739. 0000128C  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  1740. 00001292  A001                     syscall    Close
  1741. 00001294  3D40 000A                move.w     [A6 + 0xA], D0
  1742. 00001298  4E5E                     unlink     A6
  1743. 0000129A  205F                     movea.l    A0, [A7]+
  1744. 0000129C  548F                     addq.l     A7, 2
  1745. 0000129E  4ED0                     jmp        [A0]
  1746. fn000012A0:
  1747. 000012A0  51C1                     sf         D1
  1748. 000012A2  6002                     bra        +0x4 /* 000012A6 */
  1749. fn000012A4:
  1750. 000012A4  50C1                     st         D1
  1751. label000012A6:
  1752. 000012A6  4E56 FFCE                link       A6, -0x0032
  1753. 000012AA  41EE FFCE                lea.l      A0, [A6 - 0x32]
  1754. 000012AE  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  1755. 000012B4  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  1756. 000012BA  226E 000C                movea.l    A1, [A6 + 0xC]
  1757. 000012BE  2151 0024                move.l     [A0 + 0x24], [A1]
  1758. 000012C2  4268 002C                clr.w      [A0 + 0x2C]
  1759. 000012C6  42A8 002E                clr.l      [A0 + 0x2E]
  1760. 000012CA  4A01                     tst.b      D1
  1761. 000012CC  6604                     bne        +0x6 /* 000012D2 */
  1762. 000012CE  A002                     syscall    Read
  1763. 000012D0  6002                     bra        +0x4 /* 000012D4 */
  1764. label000012D2:
  1765. 000012D2  A003                     syscall    Write
  1766. label000012D4:
  1767. 000012D4  3D40 0012                move.w     [A6 + 0x12], D0
  1768. 000012D8  226E 000C                movea.l    A1, [A6 + 0xC]
  1769. 000012DC  22A8 0028                move.l     [A1], [A0 + 0x28]
  1770. 000012E0  4E5E                     unlink     A6
  1771. 000012E2  225F                     movea.l    A1, [A7]+
  1772. 000012E4  DFFC 0000 000A           add.l      A7, 0xA /* '\n' */
  1773. 000012EA  4ED1                     jmp        [A1]
  1774. fn000012EC:
  1775. 000012EC  4E56 FFC0                link       A6, -0x0040
  1776. 000012F0  41EE FFC0                lea.l      A0, [A6 - 0x40]
  1777. 000012F4  216E 000C 0012           move.l     [A0 + 0x12], [A6 + 0xC]
  1778. 000012FA  A014                     syscall    GetVol/PBHGetVol/HGetVol
  1779. 000012FC  3D40 0010                move.w     [A6 + 0x10], D0
  1780. 00001300  226E 0008                movea.l    A1, [A6 + 0x8]
  1781. 00001304  32A8 0016                move.w     [A1], [A0 + 0x16]
  1782. 00001308  4E5E                     unlink     A6
  1783. 0000130A  225F                     movea.l    A1, [A7]+
  1784. 0000130C  508F                     addq.l     A7, 8
  1785. 0000130E  4ED1                     jmp        [A1]
  1786. fn00001310:
  1787. 00001310  4E56 FFB0                link       A6, -0x0050
  1788. 00001314  41EE FFB0                lea.l      A0, [A6 - 0x50]
  1789. 00001318  216E 0012 0012           move.l     [A0 + 0x12], [A6 + 0x12]
  1790. 0000131E  316E 0010 0016           move.w     [A0 + 0x16], [A6 + 0x10]
  1791. 00001324  4228 001A                clr.b      [A0 + 0x1A]
  1792. 00001328  A008                     syscall    Create/PBHCreate/HCreate
  1793. 0000132A  4A40                     tst.w      D0
  1794. 0000132C  6616                     bne        +0x18 /* 00001344 */
  1795. 0000132E  4268 001C                clr.w      [A0 + 0x1C]
  1796. 00001332  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  1797. 00001334  2008                     move.l     D0, A0
  1798. 00001336  43E8 0020                lea.l      A1, [A0 + 0x20]
  1799. 0000133A  22EE 0008                move.l     [A1]+, [A6 + 0x8]
  1800. 0000133E  22AE 000C                move.l     [A1], [A6 + 0xC]
  1801. 00001342  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  1802. label00001344:
  1803. 00001344  3D40 0016                move.w     [A6 + 0x16], D0
  1804. 00001348  4E5E                     unlink     A6
  1805. 0000134A  225F                     movea.l    A1, [A7]+
  1806. 0000134C  DFFC 0000 000E           add.l      A7, 0xE
  1807. 00001352  4ED1                     jmp        [A1]
  1808. fn00001354:
  1809. 00001354  4E56 FFCE                link       A6, -0x0032
  1810. 00001358  41EE FFCE                lea.l      A0, [A6 - 0x32]
  1811. 0000135C  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  1812. 00001362  A011                     syscall    GetEOF
  1813. 00001364  3D40 000E                move.w     [A6 + 0xE], D0
  1814. 00001368  226E 0008                movea.l    A1, [A6 + 0x8]
  1815. 0000136C  22A8 001C                move.l     [A1], [A0 + 0x1C]
  1816. 00001370  4E5E                     unlink     A6
  1817. 00001372  225F                     movea.l    A1, [A7]+
  1818. 00001374  5C8F                     addq.l     A7, 6
  1819. 00001376  4ED1                     jmp        [A1]
  1820. fn00001378:
  1821. 00001378  206F 0004                movea.l    A0, [A7 + 0x4]
  1822. 0000137C  2050                     movea.l    A0, [A0]
  1823. 0000137E  A9E1                     syscall    HandToHand
  1824. 00001380  226F 0004                movea.l    A1, [A7 + 0x4]
  1825. 00001384  2288                     move.l     [A1], A0
  1826. 00001386  3F40 0008                move.w     [A7 + 0x8], D0
  1827. 0000138A  2E9F                     move.l     [A7], [A7]+
  1828. 0000138C  4E75                     rts
  1829. fn0000138E:
  1830. 0000138E  7401                     moveq.l    D2, 0x01
  1831. 00001390  205F                     movea.l    A0, [A7]+
  1832. 00001392  3F02                     move.w     -[A7], D2
  1833. 00001394  2F08                     move.l     -[A7], A0
  1834. 00001396  ADEA                     syscall    Pack3, auto_pop
  1835. fn00001398:
  1836. 00001398  7402                     moveq.l    D2, 0x02
  1837. label0000139A:
  1838. 0000139A  205F                     movea.l    A0, [A7]+
  1839. 0000139C  3F02                     move.w     -[A7], D2
  1840. 0000139E  2F08                     move.l     -[A7], A0
  1841. 000013A0  ADE9                     syscall    Pack2, auto_pop
  1842. fn000013A2:
  1843. 000013A2  7404                     moveq.l    D2, 0x04
  1844. 000013A4  4EFA FFF4                jmp        [PC - 0xC /* 0000139A */]
  1845. fn000013A8:
  1846. 000013A8  7400                     moveq.l    D2, 0x00
  1847. 000013AA  4EFA FFEE                jmp        [PC - 0x12 /* 0000139A */]
  1848. fn000013AE:
  1849. 000013AE  206F 000C                movea.l    A0, [A7 + 0xC]
  1850. 000013B2  2050                     movea.l    A0, [A0]
  1851. 000013B4  7003                     moveq.l    D0, 0x03
  1852. 000013B6  C028 0044                and.b      D0, [A0 + 0x44]
  1853. 000013BA  72FC                     moveq.l    D1, 0xFFFFFFFC
  1854. 000013BC  C338 0946                and.b      [0x00000946 /* ChooserBits */], D1
  1855. 000013C0  8138 0946                or.b       [0x00000946 /* ChooserBits */], D0
  1856. 000013C4  223C 000C 0000           move.l     D1, 0xC0000
  1857. 000013CA  6016                     bra        +0x18 /* 000013E2 */
  1858. fn000013CC:
  1859. 000013CC  223C 0004 8004           move.l     D1, 0x48004
  1860. 000013D2  600E                     bra        +0x10 /* 000013E2 */
  1861. fn000013D4:
  1862. 000013D4  223C 0008 0008           move.l     D1, 0x80008
  1863. 000013DA  6006                     bra        +0x8 /* 000013E2 */
  1864. fn000013DC:
  1865. 000013DC  223C 0004 000C           move.l     D1, 0x4000C
  1866. label000013E2:
  1867. 000013E2  7003                     moveq.l    D0, 0x03
  1868. 000013E4  C038 0946                and.b      D0, [0x00000946 /* ChooserBits */]
  1869. 000013E8  605E                     bra        +0x60 /* 00001448 */
  1870. 000013EA  223C 0000 8000           move.l     D1, 0x8000
  1871. 000013F0  7006                     moveq.l    D0, 0x06
  1872. 000013F2  6054                     bra        +0x56 /* 00001448 */
  1873. 000013F4  223C 000C 8000           move.l     D1, 0xC8000
  1874. 000013FA  7007                     moveq.l    D0, 0x07
  1875. 000013FC  604A                     bra        +0x4C /* 00001448 */
  1876. fn000013FE:
  1877. 000013FE  223C 0004 8000           move.l     D1, 0x48000
  1878. 00001404  6036                     bra        +0x38 /* 0000143C */
  1879. fn00001406:
  1880. 00001406  223C 0004 8004           move.l     D1, 0x48004
  1881. 0000140C  602E                     bra        +0x30 /* 0000143C */
  1882. fn0000140E:
  1883. 0000140E  223C 0004 8008           move.l     D1, 0x48008
  1884. 00001414  6026                     bra        +0x28 /* 0000143C */
  1885. 00001416  223C 0004 000C           move.l     D1, 0x4000C
  1886. 0000141C  601E                     bra        +0x20 /* 0000143C */
  1887. 0000141E  223C 0004 0010           move.l     D1, 0x40010
  1888. 00001424  6016                     bra        +0x18 /* 0000143C */
  1889. 00001426  223C 0008 8014           move.l     D1, 0x88014
  1890. 0000142C  600E                     bra        +0x10 /* 0000143C */
  1891. fn0000142E:
  1892. 0000142E  223C 0004 8018           move.l     D1, 0x48018
  1893. 00001434  6006                     bra        +0x8 /* 0000143C */
  1894. 00001436  223C 0008 801C           move.l     D1, 0x8801C
  1895. label0000143C:
  1896. 0000143C  7004                     moveq.l    D0, 0x04
  1897. 0000143E  6008                     bra        +0xA /* 00001448 */
  1898. fn00001440:
  1899. 00001440  223C 0014 8000           move.l     D1, 0x148000
  1900. 00001446  7005                     moveq.l    D0, 0x05
  1901. label00001448:
  1902. 00001448  41FA 0050                lea.l      A0, [PC + 0x50 /* 0000149A, value 0x0, cstring "" */]
  1903. 0000144C  48D0 1810                movem.l    [A0], D4,A3,A4
  1904. 00001450  2801                     move.l     D4, D1
  1905. 00001452  265F                     movea.l    A3, [A7]+
  1906. 00001454  598F                     subq.l     A7, 4
  1907. 00001456  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  1908. 0000145C  3F00                     move.w     -[A7], D0
  1909. 0000145E  A9A0                     syscall    GetResource
  1910. 00001460  201F                     move.l     D0, [A7]+
  1911. 00001462  672A                     beq        +0x2C /* 0000148E */
  1912. 00001464  2840                     movea.l    A4, D0
  1913. 00001466  08D4 0007                bset.b     [A4], 0x7
  1914. 0000146A  2054                     movea.l    A0, [A4]
  1915. 0000146C  7000                     moveq.l    D0, 0x00
  1916. 0000146E  1004                     move.b     D0, D4
  1917. 00001470  D1C0                     add.l      A0, D0
  1918. 00001472  2F08                     move.l     -[A7], A0
  1919. 00001474  4217                     clr.b      [A7]
  1920. 00001476  205F                     movea.l    A0, [A7]+
  1921. 00001478  4E90                     jsr        [A0]
  1922. 0000147A  4A44                     tst.w      D4
  1923. 0000147C  6A04                     bpl        +0x6 /* 00001482 */
  1924. 0000147E  0894 0007                bclr.b     [A4], 0x7
  1925. label00001482:
  1926. 00001482  224B                     movea.l    A1, A3
  1927. 00001484  41FA 0014                lea.l      A0, [PC + 0x14 /* 0000149A, value 0x0, cstring "" */]
  1928. 00001488  4CD0 1810                movem.l    D4,A3,A4, [A0]
  1929. 0000148C  4ED1                     jmp        [A1]
  1930. label0000148E:
  1931. 0000148E  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  1932. 00001494  4844                     swap.w     D4
  1933. 00001496  DEC4                     add.w      A7, D4
  1934. 00001498  60E8                     bra        -0x16 /* 00001482 */
  1935. 0000149A  0000 0000                ori.b      D0, 0x0
  1936. 0000149E  0000 0000                ori.b      D0, 0x0
  1937. 000014A2  0000 0000                ori.b      D0, 0x0
  1938. fn000014A6:
  1939. 000014A6  7018                     moveq.l    D0, 0x18
  1940. label000014A8:
  1941. 000014A8  4267                     clr.w      -[A7]
  1942. 000014AA  51C8 FFFC                dbf        D0, -0x6 /* 000014A8 */
  1943. 000014AE  41FA 0014                lea.l      A0, [PC + 0x14 /* 000014C4, value 0x62E5072, pstring ".Print" */]
  1944. 000014B2  2F48 0012                move.l     [A7 + 0x12], A0
  1945. 000014B6  204F                     movea.l    A0, A7
  1946. 000014B8  A000                     syscall    Open/PBHOpen/HOpen
  1947. label000014BA:
  1948. 000014BA  DEFC 0032                add.w      A7, 0x32 /* '2' */
  1949. 000014BE  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  1950. 000014C2  4E75                     rts
  1951. 000014C4  062E 5072 696E           addi.b     [A6 + 0x696E], 0x72 /* 'r' */
  1952. 000014CA  7420                     moveq.l    D2, 0x20
  1953. 000014CC  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1954. 000014D0  204F                     movea.l    A0, A7
  1955. 000014D2  317C FFFD 0018           move.w     [A0 + 0x18], 0xFFFD
  1956. 000014D8  A001                     syscall    Close
  1957. 000014DA  60DE                     bra        -0x20 /* 000014BA */
  1958. 000014DC  205F                     movea.l    A0, [A7]+
  1959. 000014DE  225F                     movea.l    A1, [A7]+
  1960. 000014E0  201F                     move.l     D0, [A7]+
  1961. 000014E2  221F                     move.l     D1, [A7]+
  1962. 000014E4  341F                     move.w     D2, [A7]+
  1963. 000014E6  2F08                     move.l     -[A7], A0
  1964. 000014E8  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1965. 000014EC  3F42 001A                move.w     [A7 + 0x1A], D2
  1966. 000014F0  2F41 001C                move.l     [A7 + 0x1C], D1
  1967. 000014F4  2F40 0020                move.l     [A7 + 0x20], D0
  1968. 000014F8  2F49 0024                move.l     [A7 + 0x24], A1
  1969. 000014FC  3F7C FFFD 0018           move.w     [A7 + 0x18], 0xFFFD
  1970. 00001502  204F                     movea.l    A0, A7
  1971. 00001504  A004                     syscall    Control
  1972. 00001506  60B2                     bra        -0x4C /* 000014BA */
  1973. fn00001508:
  1974. 00001508  619C                     bsr        -0x62 /* 000014A6 */
  1975. 0000150A  6636                     bne        +0x38 /* 00001542 */
  1976. 0000150C  7200                     moveq.l    D1, 0x00
  1977. 0000150E  6002                     bra        +0x4 /* 00001512 */
  1978. fn00001510:
  1979. 00001510  7201                     moveq.l    D1, 0x01
  1980. label00001512:
  1981. 00001512  594F                     subq.w     A7, 4
  1982. 00001514  2F3C 5354 5220           move.l     -[A7], 0x53545220 /* 'STR ' */
  1983. 0000151A  3F3C E000                move.w     -[A7], 0xE000
  1984. 0000151E  A9A0                     syscall    GetResource
  1985. 00001520  201F                     move.l     D0, [A7]+
  1986. 00001522  672C                     beq        +0x2E /* 00001550 */
  1987. 00001524  2240                     movea.l    A1, D0
  1988. 00001526  554F                     subq.w     A7, 2
  1989. 00001528  08D1 0007                bset.b     [A1], 0x7
  1990. 0000152C  2F11                     move.l     -[A7], [A1]
  1991. 0000152E  A997                     syscall    OpenResFile
  1992. 00001530  301F                     move.w     D0, [A7]+
  1993. 00001532  0891 0007                bclr.b     [A1], 0x7
  1994. 00001536  610C                     bsr        +0xE /* 00001544 */
  1995. 00001538  4A41                     tst.w      D1
  1996. 0000153A  6706                     beq        +0x8 /* 00001542 */
  1997. 0000153C  3F00                     move.w     -[A7], D0
  1998. 0000153E  A99A                     syscall    CloseResFile
  1999. 00001540  6102                     bsr        +0x4 /* 00001544 */
  2000. label00001542:
  2001. 00001542  4E75                     rts
  2002. fn00001544:
  2003. 00001544  31F8 0A60 0944           move.w     [0x00000944 /* PrintErr */], [0x00000A60 /* ResErr */]
  2004. 0000154A  6702                     beq        +0x4 /* 0000154E */
  2005. 0000154C  584F                     addq.w     A7, 4
  2006. label0000154E:
  2007. 0000154E  4E75                     rts
  2008. label00001550:
  2009. 00001550  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  2010. 00001556  4E75                     rts
  2011. fn00001558:
  2012. 00001558  3F78 0944 0004           move.w     [A7 + 0x4], [0x00000944 /* PrintErr */]
  2013. 0000155E  4E75                     rts
  2014. 00001560  205F                     movea.l    A0, [A7]+
  2015. 00001562  31DF 0944                move.w     [0x00000944 /* PrintErr */], [A7]+
  2016. 00001566  4ED0                     jmp        [A0]
  2017. fn00001568:
  2018. 00001568  4E56 FFFC                link       A6, -0x0004
  2019. 0000156C  48E7 0108                movem.l    -[A7], D7,A4
  2020. 00001570  2D6D FD08 FFFC           move.l     [A6 - 0x4], [A5 - 0x2F8]
  2021. 00001576  42AE 000C                clr.l      [A6 + 0xC]
  2022. label0000157A:
  2023. 0000157A  4AAE FFFC                tst.l      [A6 - 0x4]
  2024. 0000157E  6700 0030                beq        +0x32 /* 000015B0 */
  2025. 00001582  286E FFFC                movea.l    A4, [A6 - 0x4]
  2026. 00001586  2854                     movea.l    A4, [A4]
  2027. 00001588  2E14                     move.l     D7, [A4]
  2028. 0000158A  BEAE 0008                cmp.l      D7, [A6 + 0x8]
  2029. 0000158E  6600 0010                bne        +0x12 /* 000015A0 */
  2030. 00001592  2D6E FFFC 000C           move.l     [A6 + 0xC], [A6 - 0x4]
  2031. 00001598  42AE FFFC                clr.l      [A6 - 0x4]
  2032. 0000159C  4EFA 000E                jmp        [PC + 0xE /* 000015AC */]
  2033. label000015A0:
  2034. 000015A0  286E FFFC                movea.l    A4, [A6 - 0x4]
  2035. 000015A4  2854                     movea.l    A4, [A4]
  2036. 000015A6  2D6C 002E FFFC           move.l     [A6 - 0x4], [A4 + 0x2E]
  2037. label000015AC:
  2038. 000015AC  4EFA FFCC                jmp        [PC - 0x34 /* 0000157A */]
  2039. label000015B0:
  2040. 000015B0  4CDF 1080                movem.l    D7,A4, [A7]+
  2041. 000015B4  4E5E                     unlink     A6
  2042. 000015B6  2E9F                     move.l     [A7], [A7]+
  2043. 000015B8  4E75                     rts
  2044. fn000015BA:
  2045. 000015BA  4E56 FFF8                link       A6, -0x0008
  2046. 000015BE  48E7 0108                movem.l    -[A7], D7,A4
  2047. 000015C2  598F                     subq.l     A7, 4
  2048. 000015C4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2049. 000015C8  4EBA FF9E                jsr        [PC - 0x62 /* 00001568 */]
  2050. 000015CC  2E1F                     move.l     D7, [A7]+
  2051. 000015CE  2D47 FFFC                move.l     [A6 - 0x4], D7
  2052. 000015D2  2D6E 0008 FFF8           move.l     [A6 - 0x8], [A6 + 0x8]
  2053. 000015D8  4AAE FFFC                tst.l      [A6 - 0x4]
  2054. 000015DC  6700 001A                beq        +0x1C /* 000015F8 */
  2055. 000015E0  286E FFF8                movea.l    A4, [A6 - 0x8]
  2056. 000015E4  0C6C 0002 006C           cmpi.w     [A4 + 0x6C], 0x2
  2057. 000015EA  6700 0008                beq        +0xA /* 000015F4 */
  2058. 000015EE  2D6E FFFC 000C           move.l     [A6 + 0xC], [A6 - 0x4]
  2059. label000015F4:
  2060. 000015F4  4EFA 0006                jmp        [PC + 0x6 /* 000015FC */]
  2061. label000015F8:
  2062. 000015F8  42AE 000C                clr.l      [A6 + 0xC]
  2063. label000015FC:
  2064. 000015FC  4CDF 1080                movem.l    D7,A4, [A7]+
  2065. 00001600  4E5E                     unlink     A6
  2066. 00001602  2E9F                     move.l     [A7], [A7]+
  2067. 00001604  4E75                     rts
  2068. fn00001606:
  2069. 00001606  4E56 FFF8                link       A6, -0x0008
  2070. 0000160A  48E7 0108                movem.l    -[A7], D7,A4
  2071. 0000160E  598F                     subq.l     A7, 4
  2072. 00001610  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2073. 00001614  4EBA FF52                jsr        [PC - 0xAE /* 00001568 */]
  2074. 00001618  2E1F                     move.l     D7, [A7]+
  2075. 0000161A  2D47 FFFC                move.l     [A6 - 0x4], D7
  2076. 0000161E  2D6E 0008 FFF8           move.l     [A6 - 0x8], [A6 + 0x8]
  2077. 00001624  4AAE FFFC                tst.l      [A6 - 0x4]
  2078. 00001628  6700 001A                beq        +0x1C /* 00001644 */
  2079. 0000162C  286E FFF8                movea.l    A4, [A6 - 0x8]
  2080. 00001630  0C6C 0002 006C           cmpi.w     [A4 + 0x6C], 0x2
  2081. 00001636  6600 0008                bne        +0xA /* 00001640 */
  2082. 0000163A  2D6E FFFC 000C           move.l     [A6 + 0xC], [A6 - 0x4]
  2083. label00001640:
  2084. 00001640  4EFA 0006                jmp        [PC + 0x6 /* 00001648 */]
  2085. label00001644:
  2086. 00001644  42AE 000C                clr.l      [A6 + 0xC]
  2087. label00001648:
  2088. 00001648  4CDF 1080                movem.l    D7,A4, [A7]+
  2089. 0000164C  4E5E                     unlink     A6
  2090. 0000164E  2E9F                     move.l     [A7], [A7]+
  2091. 00001650  4E75                     rts
  2092. fn00001652:
  2093. 00001652  4E56 FFF4                link       A6, -0x000C
  2094. 00001656  48E7 0308                movem.l    -[A7], D6,D7,A4
  2095. 0000165A  3D6E 0008 FFFE           move.w     [A6 - 0x2], [A6 + 0x8]
  2096. 00001660  3D6E 000A FFFC           move.w     [A6 - 0x4], [A6 + 0xA]
  2097. 00001666  2D6D FD16 FFF8           move.l     [A6 - 0x8], [A5 - 0x2EA]
  2098. label0000166C:
  2099. 0000166C  4AAE FFF8                tst.l      [A6 - 0x8]
  2100. 00001670  6700 0050                beq        +0x52 /* 000016C2 */
  2101. 00001674  286E FFF8                movea.l    A4, [A6 - 0x8]
  2102. 00001678  2854                     movea.l    A4, [A4]
  2103. 0000167A  2D6C 0002 FFF4           move.l     [A6 - 0xC], [A4 + 0x2]
  2104. 00001680  286E FFF8                movea.l    A4, [A6 - 0x8]
  2105. 00001684  2854                     movea.l    A4, [A4]
  2106. 00001686  3E2E FFFE                move.w     D7, [A6 - 0x2]
  2107. 0000168A  BE54                     cmp.w      D7, [A4]
  2108. 0000168C  57C7                     seq        D7
  2109. 0000168E  4407                     neg.b      D7
  2110. 00001690  4AAE FFF4                tst.l      [A6 - 0xC]
  2111. 00001694  56C6                     sne        D6
  2112. 00001696  4406                     neg.b      D6
  2113. 00001698  CC07                     and.b      D6, D7
  2114. 0000169A  6700 0016                beq        +0x18 /* 000016B2 */
  2115. 0000169E  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  2116. 000016A2  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2117. 000016A6  205F                     movea.l    A0, [A7]+
  2118. 000016A8  4E90                     jsr        [A0]
  2119. 000016AA  42AE FFF8                clr.l      [A6 - 0x8]
  2120. 000016AE  4EFA 000E                jmp        [PC + 0xE /* 000016BE */]
  2121. label000016B2:
  2122. 000016B2  286E FFF8                movea.l    A4, [A6 - 0x8]
  2123. 000016B6  2854                     movea.l    A4, [A4]
  2124. 000016B8  2D6C 000A FFF8           move.l     [A6 - 0x8], [A4 + 0xA]
  2125. label000016BE:
  2126. 000016BE  4EFA FFAC                jmp        [PC - 0x54 /* 0000166C */]
  2127. label000016C2:
  2128. 000016C2  4267                     clr.w      -[A7]
  2129. 000016C4  A938                     syscall    HiliteMenu
  2130. 000016C6  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  2131. 000016CA  4E5E                     unlink     A6
  2132. 000016CC  2E9F                     move.l     [A7], [A7]+
  2133. 000016CE  4E75                     rts
  2134. 000016D0  4E56 FEFA                link       A6, -0x0106
  2135. 000016D4  48E7 0100                movem.l    -[A7], D7
  2136. 000016D8  0C6E 0001 0008           cmpi.w     [A6 + 0x8], 0x1
  2137. 000016DE  57C7                     seq        D7
  2138. 000016E0  4407                     neg.b      D7
  2139. 000016E2  CE2D FD26                and.b      D7, [A5 - 0x2DA]
  2140. 000016E6  6700 0016                beq        +0x18 /* 000016FE */
  2141. 000016EA  4AAD FD22                tst.l      [A5 - 0x2DE]
  2142. 000016EE  6700 000A                beq        +0xC /* 000016FA */
  2143. 000016F2  2F2D FD22                move.l     -[A7], [A5 - 0x2DE]
  2144. 000016F6  205F                     movea.l    A0, [A7]+
  2145. 000016F8  4E90                     jsr        [A0]
  2146. label000016FA:
  2147. 000016FA  4EFA 002A                jmp        [PC + 0x2A /* 00001726 */]
  2148. label000016FE:
  2149. 000016FE  486E FFFC                pea.l      [A6 - 0x4]
  2150. 00001702  A874                     syscall    GetPort
  2151. 00001704  2F2D FD1C                move.l     -[A7], [A5 - 0x2E4]
  2152. 00001708  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  2153. 0000170C  486E FEFC                pea.l      [A6 - 0x104]
  2154. 00001710  A946                     syscall    GetMenuItemText/GetItem
  2155. 00001712  558F                     subq.l     A7, 2
  2156. 00001714  486E FEFC                pea.l      [A6 - 0x104]
  2157. 00001718  A9B6                     syscall    OpenDeskAcc
  2158. 0000171A  3E1F                     move.w     D7, [A7]+
  2159. 0000171C  3D47 FEFA                move.w     [A6 - 0x106], D7
  2160. 00001720  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2161. 00001724  A873                     syscall    SetPort
  2162. label00001726:
  2163. 00001726  4CDF 0080                movem.l    D7, [A7]+
  2164. 0000172A  4E5E                     unlink     A6
  2165. 0000172C  205F                     movea.l    A0, [A7]+
  2166. 0000172E  548F                     addq.l     A7, 2
  2167. 00001730  4ED0                     jmp        [A0]
  2168. 00001732  4E56 0000                link       A6, 0
  2169. 00001736  48E7 0100                movem.l    -[A7], D7
  2170. 0000173A  2F2D FD1C                move.l     -[A7], [A5 - 0x2E4]
  2171. 0000173E  A932                     syscall    DisposeMenu
  2172. 00001740  4CDF 0080                movem.l    D7, [A7]+
  2173. 00001744  4E5E                     unlink     A6
  2174. 00001746  4E75                     rts
  2175. fn00001748:
  2176. 00001748  4E56 FFF8                link       A6, -0x0008
  2177. 0000174C  48E7 0108                movem.l    -[A7], D7,A4
  2178. 00001750  4AAE 000C                tst.l      [A6 + 0xC]
  2179. 00001754  6700 004C                beq        +0x4E /* 000017A2 */
  2180. 00001758  286E 000C                movea.l    A4, [A6 + 0xC]
  2181. 0000175C  2854                     movea.l    A4, [A4]
  2182. 0000175E  2F14                     move.l     -[A7], [A4]
  2183. 00001760  A873                     syscall    SetPort
  2184. 00001762  286E 000C                movea.l    A4, [A6 + 0xC]
  2185. 00001766  2854                     movea.l    A4, [A4]
  2186. 00001768  2D6C 0008 FFFC           move.l     [A6 - 0x4], [A4 + 0x8]
  2187. 0000176E  4AAE FFFC                tst.l      [A6 - 0x4]
  2188. 00001772  6700 002E                beq        +0x30 /* 000017A2 */
  2189. 00001776  286E 0008                movea.l    A4, [A6 + 0x8]
  2190. 0000177A  2D6C 000A FFF8           move.l     [A6 - 0x8], [A4 + 0xA]
  2191. 00001780  486E FFF8                pea.l      [A6 - 0x8]
  2192. 00001784  A871                     syscall    GlobalToLocal
  2193. 00001786  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2194. 0000178A  286E 0008                movea.l    A4, [A6 + 0x8]
  2195. 0000178E  2F2C 0006                move.l     -[A7], [A4 + 0x6]
  2196. 00001792  286E 0008                movea.l    A4, [A6 + 0x8]
  2197. 00001796  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  2198. 0000179A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2199. 0000179E  205F                     movea.l    A0, [A7]+
  2200. 000017A0  4E90                     jsr        [A0]
  2201. label000017A2:
  2202. 000017A2  4CDF 1080                movem.l    D7,A4, [A7]+
  2203. 000017A6  4E5E                     unlink     A6
  2204. 000017A8  205F                     movea.l    A0, [A7]+
  2205. 000017AA  508F                     addq.l     A7, 8
  2206. 000017AC  4ED0                     jmp        [A0]
  2207. fn000017AE:
  2208. 000017AE  4E56 FFFC                link       A6, -0x0004
  2209. 000017B2  48E7 0108                movem.l    -[A7], D7,A4
  2210. 000017B6  4AAE 000C                tst.l      [A6 + 0xC]
  2211. 000017BA  6700 0030                beq        +0x32 /* 000017EC */
  2212. 000017BE  286E 000C                movea.l    A4, [A6 + 0xC]
  2213. 000017C2  2854                     movea.l    A4, [A4]
  2214. 000017C4  2F14                     move.l     -[A7], [A4]
  2215. 000017C6  A873                     syscall    SetPort
  2216. 000017C8  286E 000C                movea.l    A4, [A6 + 0xC]
  2217. 000017CC  2854                     movea.l    A4, [A4]
  2218. 000017CE  2D6C 000C FFFC           move.l     [A6 - 0x4], [A4 + 0xC]
  2219. 000017D4  4AAE FFFC                tst.l      [A6 - 0x4]
  2220. 000017D8  6700 0012                beq        +0x14 /* 000017EC */
  2221. 000017DC  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  2222. 000017E0  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  2223. 000017E4  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2224. 000017E8  205F                     movea.l    A0, [A7]+
  2225. 000017EA  4E90                     jsr        [A0]
  2226. label000017EC:
  2227. 000017EC  4CDF 1080                movem.l    D7,A4, [A7]+
  2228. 000017F0  4E5E                     unlink     A6
  2229. 000017F2  205F                     movea.l    A0, [A7]+
  2230. 000017F4  508F                     addq.l     A7, 8
  2231. 000017F6  4ED0                     jmp        [A0]
  2232. fn000017F8:
  2233. 000017F8  4E56 FFF0                link       A6, -0x0010
  2234. 000017FC  48E7 0108                movem.l    -[A7], D7,A4
  2235. 00001800  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  2236. 00001806  4AAE FFFC                tst.l      [A6 - 0x4]
  2237. 0000180A  6700 005A                beq        +0x5C /* 00001866 */
  2238. 0000180E  486E FFF4                pea.l      [A6 - 0xC]
  2239. 00001812  A874                     syscall    GetPort
  2240. 00001814  286E FFFC                movea.l    A4, [A6 - 0x4]
  2241. 00001818  2854                     movea.l    A4, [A4]
  2242. 0000181A  2D54 FFF0                move.l     [A6 - 0x10], [A4]
  2243. 0000181E  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  2244. 00001822  A873                     syscall    SetPort
  2245. 00001824  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  2246. 00001828  A922                     syscall    BeginUpdate
  2247. 0000182A  286E FFFC                movea.l    A4, [A6 - 0x4]
  2248. 0000182E  2854                     movea.l    A4, [A4]
  2249. 00001830  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  2250. 00001836  4AAE FFF8                tst.l      [A6 - 0x8]
  2251. 0000183A  6700 001E                beq        +0x20 /* 0000185A */
  2252. 0000183E  286E FFFC                movea.l    A4, [A6 - 0x4]
  2253. 00001842  2854                     movea.l    A4, [A4]
  2254. 00001844  1F2C 002C                move.b     -[A7], [A4 + 0x2C]
  2255. 00001848  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2256. 0000184C  205F                     movea.l    A0, [A7]+
  2257. 0000184E  4E90                     jsr        [A0]
  2258. 00001850  286E FFFC                movea.l    A4, [A6 - 0x4]
  2259. 00001854  2854                     movea.l    A4, [A4]
  2260. 00001856  422C 002C                clr.b      [A4 + 0x2C]
  2261. label0000185A:
  2262. 0000185A  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  2263. 0000185E  A923                     syscall    EndUpdate
  2264. 00001860  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2265. 00001864  A873                     syscall    SetPort
  2266. label00001866:
  2267. 00001866  4CDF 1080                movem.l    D7,A4, [A7]+
  2268. 0000186A  4E5E                     unlink     A6
  2269. 0000186C  2E9F                     move.l     [A7], [A7]+
  2270. 0000186E  4E75                     rts
  2271. fn00001870:
  2272. 00001870  4E56 FFFC                link       A6, -0x0004
  2273. 00001874  48E7 0308                movem.l    -[A7], D6,D7,A4
  2274. 00001878  4AAE 000A                tst.l      [A6 + 0xA]
  2275. 0000187C  6700 0012                beq        +0x14 /* 00001890 */
  2276. 00001880  286E 000A                movea.l    A4, [A6 + 0xA]
  2277. 00001884  2854                     movea.l    A4, [A4]
  2278. 00001886  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  2279. 0000188C  4EFA 0006                jmp        [PC + 0x6 /* 00001894 */]
  2280. label00001890:
  2281. 00001890  42AE FFFC                clr.l      [A6 - 0x4]
  2282. label00001894:
  2283. 00001894  4AAE 000A                tst.l      [A6 + 0xA]
  2284. 00001898  56C7                     sne        D7
  2285. 0000189A  4407                     neg.b      D7
  2286. 0000189C  4AAE FFFC                tst.l      [A6 - 0x4]
  2287. 000018A0  56C6                     sne        D6
  2288. 000018A2  4406                     neg.b      D6
  2289. 000018A4  CC07                     and.b      D6, D7
  2290. 000018A6  6700 0018                beq        +0x1A /* 000018C0 */
  2291. 000018AA  286E 000A                movea.l    A4, [A6 + 0xA]
  2292. 000018AE  2854                     movea.l    A4, [A4]
  2293. 000018B0  2F14                     move.l     -[A7], [A4]
  2294. 000018B2  A873                     syscall    SetPort
  2295. 000018B4  1F2E 0008                move.b     -[A7], [A6 + 0x8]
  2296. 000018B8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2297. 000018BC  205F                     movea.l    A0, [A7]+
  2298. 000018BE  4E90                     jsr        [A0]
  2299. label000018C0:
  2300. 000018C0  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  2301. 000018C4  4E5E                     unlink     A6
  2302. 000018C6  205F                     movea.l    A0, [A7]+
  2303. 000018C8  5C8F                     addq.l     A7, 6
  2304. 000018CA  4ED0                     jmp        [A0]
  2305. fn000018CC:
  2306. 000018CC  4E56 FFF8                link       A6, -0x0008
  2307. 000018D0  48E7 0108                movem.l    -[A7], D7,A4
  2308. 000018D4  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  2309. 000018DA  4AAE FFFC                tst.l      [A6 - 0x4]
  2310. 000018DE  6700 003C                beq        +0x3E /* 0000191C */
  2311. 000018E2  286E FFFC                movea.l    A4, [A6 - 0x4]
  2312. 000018E6  2854                     movea.l    A4, [A4]
  2313. 000018E8  2F14                     move.l     -[A7], [A4]
  2314. 000018EA  A873                     syscall    SetPort
  2315. 000018EC  286E FFFC                movea.l    A4, [A6 - 0x4]
  2316. 000018F0  2854                     movea.l    A4, [A4]
  2317. 000018F2  2D6C 0018 FFF8           move.l     [A6 - 0x8], [A4 + 0x18]
  2318. 000018F8  4AAE FFF8                tst.l      [A6 - 0x8]
  2319. 000018FC  6700 000E                beq        +0x10 /* 0000190C */
  2320. 00001900  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2321. 00001904  205F                     movea.l    A0, [A7]+
  2322. 00001906  4E90                     jsr        [A0]
  2323. 00001908  4EFA 000C                jmp        [PC + 0xC /* 00001916 */]
  2324. label0000190C:
  2325. 0000190C  286E FFFC                movea.l    A4, [A6 - 0x4]
  2326. 00001910  2854                     movea.l    A4, [A4]
  2327. 00001912  2F14                     move.l     -[A7], [A4]
  2328. 00001914  A916                     syscall    HideWindow
  2329. label00001916:
  2330. 00001916  2F2D FD28                move.l     -[A7], [A5 - 0x2D8]
  2331. 0000191A  A873                     syscall    SetPort
  2332. label0000191C:
  2333. 0000191C  4CDF 1080                movem.l    D7,A4, [A7]+
  2334. 00001920  4E5E                     unlink     A6
  2335. 00001922  2E9F                     move.l     [A7], [A7]+
  2336. 00001924  4E75                     rts
  2337. fn00001926:
  2338. 00001926  4E56 FFFC                link       A6, -0x0004
  2339. 0000192A  48E7 0108                movem.l    -[A7], D7,A4
  2340. 0000192E  4AAE 0008                tst.l      [A6 + 0x8]
  2341. 00001932  6700 002E                beq        +0x30 /* 00001962 */
  2342. 00001936  286E 0008                movea.l    A4, [A6 + 0x8]
  2343. 0000193A  2854                     movea.l    A4, [A4]
  2344. 0000193C  2F14                     move.l     -[A7], [A4]
  2345. 0000193E  A873                     syscall    SetPort
  2346. 00001940  286E 0008                movea.l    A4, [A6 + 0x8]
  2347. 00001944  2854                     movea.l    A4, [A4]
  2348. 00001946  2D6C 0004 FFFC           move.l     [A6 - 0x4], [A4 + 0x4]
  2349. 0000194C  4AAE FFFC                tst.l      [A6 - 0x4]
  2350. 00001950  6700 000A                beq        +0xC /* 0000195C */
  2351. 00001954  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2352. 00001958  205F                     movea.l    A0, [A7]+
  2353. 0000195A  4E90                     jsr        [A0]
  2354. label0000195C:
  2355. 0000195C  2F2D FD28                move.l     -[A7], [A5 - 0x2D8]
  2356. 00001960  A873                     syscall    SetPort
  2357. label00001962:
  2358. 00001962  4CDF 1080                movem.l    D7,A4, [A7]+
  2359. 00001966  4E5E                     unlink     A6
  2360. 00001968  2E9F                     move.l     [A7], [A7]+
  2361. 0000196A  4E75                     rts
  2362. fn0000196C:
  2363. 0000196C  4E56 FFF8                link       A6, -0x0008
  2364. 00001970  48E7 0108                movem.l    -[A7], D7,A4
  2365. 00001974  4AAE 0008                tst.l      [A6 + 0x8]
  2366. 00001978  6700 0034                beq        +0x36 /* 000019AE */
  2367. 0000197C  486E FFF8                pea.l      [A6 - 0x8]
  2368. 00001980  A874                     syscall    GetPort
  2369. 00001982  286E 0008                movea.l    A4, [A6 + 0x8]
  2370. 00001986  2854                     movea.l    A4, [A4]
  2371. 00001988  2F14                     move.l     -[A7], [A4]
  2372. 0000198A  A873                     syscall    SetPort
  2373. 0000198C  286E 0008                movea.l    A4, [A6 + 0x8]
  2374. 00001990  2854                     movea.l    A4, [A4]
  2375. 00001992  2D6C 001C FFFC           move.l     [A6 - 0x4], [A4 + 0x1C]
  2376. 00001998  4AAE FFFC                tst.l      [A6 - 0x4]
  2377. 0000199C  6700 000A                beq        +0xC /* 000019A8 */
  2378. 000019A0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2379. 000019A4  205F                     movea.l    A0, [A7]+
  2380. 000019A6  4E90                     jsr        [A0]
  2381. label000019A8:
  2382. 000019A8  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2383. 000019AC  A873                     syscall    SetPort
  2384. label000019AE:
  2385. 000019AE  4CDF 1080                movem.l    D7,A4, [A7]+
  2386. 000019B2  4E5E                     unlink     A6
  2387. 000019B4  2E9F                     move.l     [A7], [A7]+
  2388. 000019B6  4E75                     rts
  2389. fn000019B8:
  2390. 000019B8  4E56 FFE4                link       A6, -0x001C
  2391. 000019BC  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  2392. 000019C0  286E 0008                movea.l    A4, [A6 + 0x8]
  2393. 000019C4  2D6C 0002 FFE4           move.l     [A6 - 0x1C], [A4 + 0x2]
  2394. 000019CA  4247                     clr.w      D7
  2395. 000019CC  1E2E FFE7                move.b     D7, [A6 - 0x19]
  2396. 000019D0  3D47 FFE8                move.w     [A6 - 0x18], D7
  2397. 000019D4  286E 0008                movea.l    A4, [A6 + 0x8]
  2398. 000019D8  3D54 FFF6                move.w     [A6 - 0xA], [A4]
  2399. 000019DC  598F                     subq.l     A7, 4
  2400. 000019DE  2F3C 0000 0001           move.l     -[A7], 0x1
  2401. 000019E4  3F2E FFF6                move.w     -[A7], [A6 - 0xA]
  2402. 000019E8  A85C                     syscall    BitShift
  2403. 000019EA  2E1F                     move.l     D7, [A7]+
  2404. 000019EC  2D47 FFEA                move.l     [A6 - 0x16], D7
  2405. 000019F0  2E2E FFEA                move.l     D7, [A6 - 0x16]
  2406. 000019F4  4286                     clr.l      D6
  2407. 000019F6  3C2D FD3C                move.w     D6, [A5 - 0x2C4]
  2408. 000019FA  CC87                     and.l      D6, D7
  2409. 000019FC  2D46 FFEA                move.l     [A6 - 0x16], D6
  2410. 00001A00  0C6E 0003 FFF6           cmpi.w     [A6 - 0xA], 0x3
  2411. 00001A06  57C7                     seq        D7
  2412. 00001A08  4407                     neg.b      D7
  2413. 00001A0A  0C6E 0005 FFF6           cmpi.w     [A6 - 0xA], 0x5
  2414. 00001A10  57C6                     seq        D6
  2415. 00001A12  4406                     neg.b      D6
  2416. 00001A14  8C07                     or.b       D6, D7
  2417. 00001A16  286E 0008                movea.l    A4, [A6 + 0x8]
  2418. 00001A1A  4287                     clr.l      D7
  2419. 00001A1C  3E2C 000E                move.w     D7, [A4 + 0xE]
  2420. 00001A20  4285                     clr.l      D5
  2421. 00001A22  3A3C 0100                move.w     D5, 0x100
  2422. 00001A26  CA87                     and.l      D5, D7
  2423. 00001A28  0C85 0000 0100           cmpi.l     D5, 0x100
  2424. 00001A2E  57C7                     seq        D7
  2425. 00001A30  4407                     neg.b      D7
  2426. 00001A32  CE06                     and.b      D7, D6
  2427. 00001A34  6700 001C                beq        +0x1E /* 00001A52 */
  2428. 00001A38  598F                     subq.l     A7, 4
  2429. 00001A3A  3F2E FFE8                move.w     -[A7], [A6 - 0x18]
  2430. 00001A3E  A93E                     syscall    MenuKey
  2431. 00001A40  2E1F                     move.l     D7, [A7]+
  2432. 00001A42  2F07                     move.l     -[A7], D7
  2433. 00001A44  4EBA FC0C                jsr        [PC - 0x3F4 /* 00001652 */]
  2434. 00001A48  1D7C 0001 000C           move.b     [A6 + 0xC], 0x1
  2435. 00001A4E  4EFA 0092                jmp        [PC + 0x92 /* 00001AE2 */]
  2436. label00001A52:
  2437. 00001A52  0CAE 0000 0000 FFEA      cmpi.l     [A6 - 0x16], 0x0
  2438. 00001A5A  6F00 0086                ble        +0x88 /* 00001AE2 */
  2439. 00001A5E  558F                     subq.l     A7, 2
  2440. 00001A60  286E 0008                movea.l    A4, [A6 + 0x8]
  2441. 00001A64  2F0C                     move.l     -[A7], A4
  2442. 00001A66  A97F                     syscall    IsDialogEvent
  2443. 00001A68  1E1F                     move.b     D7, [A7]+
  2444. 00001A6A  6700 0072                beq        +0x74 /* 00001ADE */
  2445. 00001A6E  558F                     subq.l     A7, 2
  2446. 00001A70  286E 0008                movea.l    A4, [A6 + 0x8]
  2447. 00001A74  2F0C                     move.l     -[A7], A4
  2448. 00001A76  486E FFF8                pea.l      [A6 - 0x8]
  2449. 00001A7A  486E FFF4                pea.l      [A6 - 0xC]
  2450. 00001A7E  A980                     syscall    DialogSelect
  2451. 00001A80  1E1F                     move.b     D7, [A7]+
  2452. 00001A82  6700 0050                beq        +0x52 /* 00001AD4 */
  2453. 00001A86  598F                     subq.l     A7, 4
  2454. 00001A88  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2455. 00001A8C  4EBA FB78                jsr        [PC - 0x488 /* 00001606 */]
  2456. 00001A90  2E1F                     move.l     D7, [A7]+
  2457. 00001A92  2D47 FFFC                move.l     [A6 - 0x4], D7
  2458. 00001A96  4AAE FFFC                tst.l      [A6 - 0x4]
  2459. 00001A9A  6700 0038                beq        +0x3A /* 00001AD4 */
  2460. 00001A9E  286E FFFC                movea.l    A4, [A6 - 0x4]
  2461. 00001AA2  2854                     movea.l    A4, [A4]
  2462. 00001AA4  4AAC 0020                tst.l      [A4 + 0x20]
  2463. 00001AA8  6700 002A                beq        +0x2C /* 00001AD4 */
  2464. 00001AAC  486E FFF0                pea.l      [A6 - 0x10]
  2465. 00001AB0  A874                     syscall    GetPort
  2466. 00001AB2  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2467. 00001AB6  A873                     syscall    SetPort
  2468. 00001AB8  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2469. 00001ABC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2470. 00001AC0  286E FFFC                movea.l    A4, [A6 - 0x4]
  2471. 00001AC4  2854                     movea.l    A4, [A4]
  2472. 00001AC6  2F2C 0020                move.l     -[A7], [A4 + 0x20]
  2473. 00001ACA  205F                     movea.l    A0, [A7]+
  2474. 00001ACC  4E90                     jsr        [A0]
  2475. 00001ACE  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  2476. 00001AD2  A873                     syscall    SetPort
  2477. label00001AD4:
  2478. 00001AD4  1D7C 0001 000C           move.b     [A6 + 0xC], 0x1
  2479. 00001ADA  4EFA 0006                jmp        [PC + 0x6 /* 00001AE2 */]
  2480. label00001ADE:
  2481. 00001ADE  422E 000C                clr.b      [A6 + 0xC]
  2482. label00001AE2:
  2483. 00001AE2  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  2484. 00001AE6  4E5E                     unlink     A6
  2485. 00001AE8  2E9F                     move.l     [A7], [A7]+
  2486. 00001AEA  4E75                     rts
  2487. fn00001AEC:
  2488. 00001AEC  4E56 0000                link       A6, 0
  2489. 00001AF0  48E7 0108                movem.l    -[A7], D7,A4
  2490. 00001AF4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2491. 00001AF8  A873                     syscall    SetPort
  2492. 00001AFA  286E 0008                movea.l    A4, [A6 + 0x8]
  2493. 00001AFE  486C 0010                pea.l      [A4 + 0x10]
  2494. 00001B02  A928                     syscall    InvalRect
  2495. 00001B04  4AAE 000C                tst.l      [A6 + 0xC]
  2496. 00001B08  6700 000E                beq        +0x10 /* 00001B18 */
  2497. 00001B0C  286E 000C                movea.l    A4, [A6 + 0xC]
  2498. 00001B10  2854                     movea.l    A4, [A4]
  2499. 00001B12  197C 0001 002C           move.b     [A4 + 0x2C], 0x1
  2500. label00001B18:
  2501. 00001B18  4CDF 1080                movem.l    D7,A4, [A7]+
  2502. 00001B1C  4E5E                     unlink     A6
  2503. 00001B1E  205F                     movea.l    A0, [A7]+
  2504. 00001B20  508F                     addq.l     A7, 8
  2505. 00001B22  4ED0                     jmp        [A0]
  2506. fn00001B24:
  2507. 00001B24  4E56 FFF4                link       A6, -0x000C
  2508. 00001B28  48E7 0108                movem.l    -[A7], D7,A4
  2509. 00001B2C  4AAE 0010                tst.l      [A6 + 0x10]
  2510. 00001B30  6700 0018                beq        +0x1A /* 00001B4A */
  2511. 00001B34  286E 0010                movea.l    A4, [A6 + 0x10]
  2512. 00001B38  2854                     movea.l    A4, [A4]
  2513. 00001B3A  2D6C 0024 FFF8           move.l     [A6 - 0x8], [A4 + 0x24]
  2514. 00001B40  2D6C 0028 FFFC           move.l     [A6 - 0x4], [A4 + 0x28]
  2515. 00001B46  4EFA 000E                jmp        [PC + 0xE /* 00001B56 */]
  2516. label00001B4A:
  2517. 00001B4A  2D6D FD0E FFF8           move.l     [A6 - 0x8], [A5 - 0x2F2]
  2518. 00001B50  2D6D FD12 FFFC           move.l     [A6 - 0x4], [A5 - 0x2EE]
  2519. label00001B56:
  2520. 00001B56  598F                     subq.l     A7, 4
  2521. 00001B58  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2522. 00001B5C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2523. 00001B60  486E FFF8                pea.l      [A6 - 0x8]
  2524. 00001B64  A92B                     syscall    GrowWindow
  2525. 00001B66  2E1F                     move.l     D7, [A7]+
  2526. 00001B68  2D47 FFF4                move.l     [A6 - 0xC], D7
  2527. 00001B6C  4AAE FFF4                tst.l      [A6 - 0xC]
  2528. 00001B70  6700 001E                beq        +0x20 /* 00001B90 */
  2529. 00001B74  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2530. 00001B78  3F2E FFF6                move.w     -[A7], [A6 - 0xA]
  2531. 00001B7C  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2532. 00001B80  4227                     clr.b      -[A7]
  2533. 00001B82  A91D                     syscall    SizeWindow
  2534. 00001B84  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  2535. 00001B88  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2536. 00001B8C  4EBA FF5E                jsr        [PC - 0xA2 /* 00001AEC */]
  2537. label00001B90:
  2538. 00001B90  4CDF 1080                movem.l    D7,A4, [A7]+
  2539. 00001B94  4E5E                     unlink     A6
  2540. 00001B96  205F                     movea.l    A0, [A7]+
  2541. 00001B98  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2542. 00001B9C  4ED0                     jmp        [A0]
  2543. fn00001B9E:
  2544. 00001B9E  4E56 0000                link       A6, 0
  2545. 00001BA2  48E7 0100                movem.l    -[A7], D7
  2546. 00001BA6  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  2547. 00001BAA  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  2548. 00001BAE  4227                     clr.b      -[A7]
  2549. 00001BB0  A83A                     syscall    ZoomWindow
  2550. 00001BB2  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  2551. 00001BB6  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  2552. 00001BBA  4EBA FF30                jsr        [PC - 0xD0 /* 00001AEC */]
  2553. 00001BBE  4CDF 0080                movem.l    D7, [A7]+
  2554. 00001BC2  4E5E                     unlink     A6
  2555. 00001BC4  205F                     movea.l    A0, [A7]+
  2556. 00001BC6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2557. 00001BCA  4ED0                     jmp        [A0]
  2558. fn00001BCC:
  2559. 00001BCC  4E56 FFDC                link       A6, -0x0024
  2560. 00001BD0  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  2561. 00001BD4  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  2562. 00001BDA  286E FFFC                movea.l    A4, [A6 - 0x4]
  2563. 00001BDE  2D6C 0002 FFDC           move.l     [A6 - 0x24], [A4 + 0x2]
  2564. 00001BE4  4247                     clr.w      D7
  2565. 00001BE6  1E2E FFDF                move.b     D7, [A6 - 0x21]
  2566. 00001BEA  3D47 FFF0                move.w     [A6 - 0x10], D7
  2567. 00001BEE  558F                     subq.l     A7, 2
  2568. 00001BF0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2569. 00001BF4  4EBA FDC2                jsr        [PC - 0x23E /* 000019B8 */]
  2570. 00001BF8  1E1F                     move.b     D7, [A7]+
  2571. 00001BFA  6700 0006                beq        +0x8 /* 00001C02 */
  2572. 00001BFE  4EFA 026A                jmp        [PC + 0x26A /* 00001E6A */]
  2573. label00001C02:
  2574. 00001C02  286E FFFC                movea.l    A4, [A6 - 0x4]
  2575. 00001C06  2D6C 000A FFF8           move.l     [A6 - 0x8], [A4 + 0xA]
  2576. 00001C0C  286E FFFC                movea.l    A4, [A6 - 0x4]
  2577. 00001C10  4EFA 022A                jmp        [PC + 0x22A /* 00001E3C */]
  2578. 00001C14  4EFA 0254                jmp        [PC + 0x254 /* 00001E6A */]
  2579. 00001C18  558F                     subq.l     A7, 2
  2580. 00001C1A  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2581. 00001C1E  486E FFF4                pea.l      [A6 - 0xC]
  2582. 00001C22  A92C                     syscall    FindWindow
  2583. 00001C24  3E1F                     move.w     D7, [A7]+
  2584. 00001C26  3D47 FFF2                move.w     [A6 - 0xE], D7
  2585. 00001C2A  598F                     subq.l     A7, 4
  2586. 00001C2C  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2587. 00001C30  4EBA F988                jsr        [PC - 0x678 /* 000015BA */]
  2588. 00001C34  2E1F                     move.l     D7, [A7]+
  2589. 00001C36  2D47 FFEA                move.l     [A6 - 0x16], D7
  2590. 00001C3A  4EFA 00F6                jmp        [PC + 0xF6 /* 00001D32 */]
  2591. 00001C3E  266E FFFC                movea.l    A3, [A6 - 0x4]
  2592. 00001C42  2F0B                     move.l     -[A7], A3
  2593. 00001C44  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2594. 00001C48  A9B3                     syscall    SystemClick
  2595. 00001C4A  4EFA 0118                jmp        [PC + 0x118 /* 00001D64 */]
  2596. 00001C4E  598F                     subq.l     A7, 4
  2597. 00001C50  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2598. 00001C54  A93D                     syscall    MenuSelect
  2599. 00001C56  2E1F                     move.l     D7, [A7]+
  2600. 00001C58  2F07                     move.l     -[A7], D7
  2601. 00001C5A  4EBA F9F6                jsr        [PC - 0x60A /* 00001652 */]
  2602. 00001C5E  4EFA 0104                jmp        [PC + 0x104 /* 00001D64 */]
  2603. 00001C62  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  2604. 00001C66  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2605. 00001C6A  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2606. 00001C6E  4EBA FEB4                jsr        [PC - 0x14C /* 00001B24 */]
  2607. 00001C72  4EFA 00F0                jmp        [PC + 0xF0 /* 00001D64 */]
  2608. 00001C76  266D FD28                movea.l    A3, [A5 - 0x2D8]
  2609. 00001C7A  2D6B 0010 FFE2           move.l     [A6 - 0x1E], [A3 + 0x10]
  2610. 00001C80  2D6B 0014 FFE6           move.l     [A6 - 0x1A], [A3 + 0x14]
  2611. 00001C86  3E2E FFE2                move.w     D7, [A6 - 0x1E]
  2612. 00001C8A  0647 0014                addi.w     D7, 0x14
  2613. 00001C8E  3D47 FFE2                move.w     [A6 - 0x1E], D7
  2614. 00001C92  486E FFE2                pea.l      [A6 - 0x1E]
  2615. 00001C96  3F3C 0004                move.w     -[A7], 0x4
  2616. 00001C9A  3F3C 0004                move.w     -[A7], 0x4
  2617. 00001C9E  A8A9                     syscall    InsetRect
  2618. 00001CA0  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2619. 00001CA4  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2620. 00001CA8  486E FFE2                pea.l      [A6 - 0x1E]
  2621. 00001CAC  A925                     syscall    DragWindow
  2622. 00001CAE  4EFA 00B4                jmp        [PC + 0xB4 /* 00001D64 */]
  2623. 00001CB2  558F                     subq.l     A7, 2
  2624. 00001CB4  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2625. 00001CB8  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2626. 00001CBC  A91E                     syscall    TrackGoAway
  2627. 00001CBE  1E1F                     move.b     D7, [A7]+
  2628. 00001CC0  6700 0014                beq        +0x16 /* 00001CD6 */
  2629. 00001CC4  598F                     subq.l     A7, 4
  2630. 00001CC6  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2631. 00001CCA  4EBA F89C                jsr        [PC - 0x764 /* 00001568 */]
  2632. 00001CCE  2E1F                     move.l     D7, [A7]+
  2633. 00001CD0  2F07                     move.l     -[A7], D7
  2634. 00001CD2  4EBA FBF8                jsr        [PC - 0x408 /* 000018CC */]
  2635. label00001CD6:
  2636. 00001CD6  4EFA 008C                jmp        [PC + 0x8C /* 00001D64 */]
  2637. 00001CDA  598F                     subq.l     A7, 4
  2638. 00001CDC  A924                     syscall    FrontWindow
  2639. 00001CDE  2E1F                     move.l     D7, [A7]+
  2640. 00001CE0  2C2E FFF4                move.l     D6, [A6 - 0xC]
  2641. 00001CE4  BC87                     cmp.l      D6, D7
  2642. 00001CE6  6700 000C                beq        +0xE /* 00001CF4 */
  2643. 00001CEA  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2644. 00001CEE  A91F                     syscall    SelectWindow
  2645. 00001CF0  4EFA 000E                jmp        [PC + 0xE /* 00001D00 */]
  2646. label00001CF4:
  2647. 00001CF4  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  2648. 00001CF8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2649. 00001CFC  4EBA FA4A                jsr        [PC - 0x5B6 /* 00001748 */]
  2650. label00001D00:
  2651. 00001D00  4EFA 0062                jmp        [PC + 0x62 /* 00001D64 */]
  2652. 00001D04  558F                     subq.l     A7, 2
  2653. 00001D06  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2654. 00001D0A  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  2655. 00001D0E  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  2656. 00001D12  A83B                     syscall    TrackBox
  2657. 00001D14  1E1F                     move.b     D7, [A7]+
  2658. 00001D16  6700 0012                beq        +0x14 /* 00001D2A */
  2659. 00001D1A  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  2660. 00001D1E  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2661. 00001D22  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  2662. 00001D26  4EBA FE76                jsr        [PC - 0x18A /* 00001B9E */]
  2663. label00001D2A:
  2664. 00001D2A  4EFA 0038                jmp        [PC + 0x38 /* 00001D64 */]
  2665. label00001D2E:
  2666. 00001D2E  4EFA 0034                jmp        [PC + 0x34 /* 00001D64 */]
  2667. label00001D32:
  2668. 00001D32  3E2E FFF2                move.w     D7, [A6 - 0xE]
  2669. 00001D36  0C47 0001                cmpi.w     D7, 0x1
  2670. 00001D3A  6D00 FFF2                blt        -0xC /* 00001D2E */
  2671. 00001D3E  0C47 0008                cmpi.w     D7, 0x8
  2672. 00001D42  6E00 FFEA                bgt        -0x14 /* 00001D2E */
  2673. 00001D46  0447 0001                subi.w     D7, 0x1
  2674. 00001D4A  DE47                     add.w      D7, D7
  2675. 00001D4C  3E3B 7006                move.w     D7, [PC + D7.w + 0x6]
  2676. 00001D50  4EFB 7002                jmp        [PC + D7.w + 0x2]
  2677. 00001D54  FEFA FEEA                .extension 0xEFA <<F/2-3/7>> // unimplemented
  2678. 00001D58  FF86                     .invalid   <<F/6/7>>
  2679. 00001D5A  FF22                     .extension 0xF22 <<F/4-5/7>> // unimplemented
  2680. 00001D5C  FF0E                     .extension 0xF0E <<F/4-5/7>> // unimplemented
  2681. 00001D5E  FF5E                     .extension 0xF5E <<F/4-5/7>> // unimplemented
  2682. 00001D60  FFB0                     .invalid   <<F/6/7>>
  2683. 00001D62  FFB0                     .invalid   <<F/6/7>>
  2684. label00001D64:
  2685. 00001D64  4EFA 0104                jmp        [PC + 0x104 /* 00001E6A */]
  2686. 00001D68  266E FFFC                movea.l    A3, [A6 - 0x4]
  2687. 00001D6C  4287                     clr.l      D7
  2688. 00001D6E  3E2B 000E                move.w     D7, [A3 + 0xE]
  2689. 00001D72  4286                     clr.l      D6
  2690. 00001D74  3C3C 0100                move.w     D6, 0x100
  2691. 00001D78  CC87                     and.l      D6, D7
  2692. 00001D7A  0C86 0000 0100           cmpi.l     D6, 0x100
  2693. 00001D80  6600 0016                bne        +0x18 /* 00001D98 */
  2694. 00001D84  598F                     subq.l     A7, 4
  2695. 00001D86  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  2696. 00001D8A  A93E                     syscall    MenuKey
  2697. 00001D8C  2E1F                     move.l     D7, [A7]+
  2698. 00001D8E  2F07                     move.l     -[A7], D7
  2699. 00001D90  4EBA F8C0                jsr        [PC - 0x740 /* 00001652 */]
  2700. 00001D94  4EFA 0020                jmp        [PC + 0x20 /* 00001DB6 */]
  2701. label00001D98:
  2702. 00001D98  598F                     subq.l     A7, 4
  2703. 00001D9A  598F                     subq.l     A7, 4
  2704. 00001D9C  A924                     syscall    FrontWindow
  2705. 00001D9E  2E1F                     move.l     D7, [A7]+
  2706. 00001DA0  2F07                     move.l     -[A7], D7
  2707. 00001DA2  4EBA F816                jsr        [PC - 0x7EA /* 000015BA */]
  2708. 00001DA6  2E1F                     move.l     D7, [A7]+
  2709. 00001DA8  2F07                     move.l     -[A7], D7
  2710. 00001DAA  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  2711. 00001DAE  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  2712. 00001DB2  4EBA F9FA                jsr        [PC - 0x606 /* 000017AE */]
  2713. label00001DB6:
  2714. 00001DB6  4EFA 00B2                jmp        [PC + 0xB2 /* 00001E6A */]
  2715. 00001DBA  598F                     subq.l     A7, 4
  2716. 00001DBC  266E FFFC                movea.l    A3, [A6 - 0x4]
  2717. 00001DC0  2F2B 0002                move.l     -[A7], [A3 + 0x2]
  2718. 00001DC4  4EBA F7F4                jsr        [PC - 0x80C /* 000015BA */]
  2719. 00001DC8  2E1F                     move.l     D7, [A7]+
  2720. 00001DCA  2F07                     move.l     -[A7], D7
  2721. 00001DCC  4EBA FA2A                jsr        [PC - 0x5D6 /* 000017F8 */]
  2722. 00001DD0  4EFA 0098                jmp        [PC + 0x98 /* 00001E6A */]
  2723. 00001DD4  598F                     subq.l     A7, 4
  2724. 00001DD6  266E FFFC                movea.l    A3, [A6 - 0x4]
  2725. 00001DDA  2F2B 0002                move.l     -[A7], [A3 + 0x2]
  2726. 00001DDE  4EBA F7DA                jsr        [PC - 0x826 /* 000015BA */]
  2727. 00001DE2  2E1F                     move.l     D7, [A7]+
  2728. 00001DE4  2F07                     move.l     -[A7], D7
  2729. 00001DE6  266E FFFC                movea.l    A3, [A6 - 0x4]
  2730. 00001DEA  4287                     clr.l      D7
  2731. 00001DEC  3E2B 000E                move.w     D7, [A3 + 0xE]
  2732. 00001DF0  4286                     clr.l      D6
  2733. 00001DF2  3C3C 0001                move.w     D6, 0x1
  2734. 00001DF6  CC87                     and.l      D6, D7
  2735. 00001DF8  4A86                     tst.l      D6
  2736. 00001DFA  56C7                     sne        D7
  2737. 00001DFC  4407                     neg.b      D7
  2738. 00001DFE  1F07                     move.b     -[A7], D7
  2739. 00001E00  4EBA FA6E                jsr        [PC - 0x592 /* 00001870 */]
  2740. 00001E04  4EFA 0064                jmp        [PC + 0x64 /* 00001E6A */]
  2741. 00001E08  266E FFFC                movea.l    A3, [A6 - 0x4]
  2742. 00001E0C  4A6B 0002                tst.w      [A3 + 0x2]
  2743. 00001E10  6700 0022                beq        +0x24 /* 00001E34 */
  2744. 00001E14  4EBA F582                jsr        [PC - 0xA7E /* 00001398 */]
  2745. 00001E18  558F                     subq.l     A7, 2
  2746. 00001E1A  2F2D FD38                move.l     -[A7], [A5 - 0x2C8]
  2747. 00001E1E  266E FFFC                movea.l    A3, [A6 - 0x4]
  2748. 00001E22  2F2B 0002                move.l     -[A7], [A3 + 0x2]
  2749. 00001E26  4EBA F580                jsr        [PC - 0xA80 /* 000013A8 */]
  2750. 00001E2A  3E1F                     move.w     D7, [A7]+
  2751. 00001E2C  3D47 FFE0                move.w     [A6 - 0x20], D7
  2752. 00001E30  4EBA F570                jsr        [PC - 0xA90 /* 000013A2 */]
  2753. label00001E34:
  2754. 00001E34  4EFA 0034                jmp        [PC + 0x34 /* 00001E6A */]
  2755. label00001E38:
  2756. 00001E38  4EFA 0030                jmp        [PC + 0x30 /* 00001E6A */]
  2757. label00001E3C:
  2758. 00001E3C  3E14                     move.w     D7, [A4]
  2759. 00001E3E  0C47 0000                cmpi.w     D7, 0x0
  2760. 00001E42  6D00 FFF4                blt        -0xA /* 00001E38 */
  2761. 00001E46  0C47 0008                cmpi.w     D7, 0x8
  2762. 00001E4A  6E00 FFEC                bgt        -0x12 /* 00001E38 */
  2763. 00001E4E  DE47                     add.w      D7, D7
  2764. 00001E50  3E3B 7006                move.w     D7, [PC + D7.w + 0x6]
  2765. 00001E54  4EFB 7002                jmp        [PC + D7.w + 0x2]
  2766. 00001E58  FDBC                     .invalid   <<F/6/6>>
  2767. 00001E5A  FDC0                     .invalid   <<F/7/6>>
  2768. 00001E5C  FFE0                     .invalid   <<F/7/7>>
  2769. 00001E5E  FF10                     .extension 0xF10 <<F/4-5/7>> // unimplemented
  2770. 00001E60  FFE0                     .invalid   <<F/7/7>>
  2771. 00001E62  FF10                     .extension 0xF10 <<F/4-5/7>> // unimplemented
  2772. 00001E64  FF62                     .extension 0xF62 <<F/4-5/7>> // unimplemented
  2773. 00001E66  FFB0                     .invalid   <<F/6/7>>
  2774. 00001E68  FF7C                     .extension 0xF7C <<F/4-5/7>> // unimplemented
  2775. label00001E6A:
  2776. 00001E6A  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  2777. 00001E6E  4E5E                     unlink     A6
  2778. 00001E70  2E9F                     move.l     [A7], [A7]+
  2779. 00001E72  4E75                     rts
  2780. fn00001E74:
  2781. 00001E74  4E56 0000                link       A6, 0
  2782. 00001E78  48E7 0108                movem.l    -[A7], D7,A4
  2783. 00001E7C  A850                     syscall    InitCursor
  2784. 00001E7E  42AD FD08                clr.l      [A5 - 0x2F8]
  2785. 00001E82  1B7C 0001 FD0C           move.b     [A5 - 0x2F4], 0x1
  2786. 00001E88  486D FD0E                pea.l      [A5 - 0x2F2]
  2787. 00001E8C  3F3C 0050                move.w     -[A7], 0x50 /* 'P' */
  2788. 00001E90  3F3C 0050                move.w     -[A7], 0x50 /* 'P' */
  2789. 00001E94  3F3C 0200                move.w     -[A7], 0x200
  2790. 00001E98  3F3C 0142                move.w     -[A7], 0x142
  2791. 00001E9C  A8A7                     syscall    SetRect
  2792. 00001E9E  42AD FD16                clr.l      [A5 - 0x2EA]
  2793. 00001EA2  1B7C 0001 FD1A           move.b     [A5 - 0x2E6], 0x1
  2794. 00001EA8  426D FD20                clr.w      [A5 - 0x2E0]
  2795. 00001EAC  42AD FD22                clr.l      [A5 - 0x2DE]
  2796. 00001EB0  422D FD26                clr.b      [A5 - 0x2DA]
  2797. 00001EB4  426D FD2C                clr.w      [A5 - 0x2D4]
  2798. 00001EB8  42AD FD2E                clr.l      [A5 - 0x2D2]
  2799. 00001EBC  42AD FD32                clr.l      [A5 - 0x2CE]
  2800. 00001EC0  422D FD3E                clr.b      [A5 - 0x2C2]
  2801. 00001EC4  3B7C FFFF FD36           move.w     [A5 - 0x2CA], 0xFFFF
  2802. 00001ECA  3B7C 0078 FD38           move.w     [A5 - 0x2C8], 0x78 /* 'x' */
  2803. 00001ED0  3B7C 0064 FD3A           move.w     [A5 - 0x2C6], 0x64 /* 'd' */
  2804. 00001ED6  3B7C 016B FD3C           move.w     [A5 - 0x2C4], 0x16B
  2805. 00001EDC  486D FD28                pea.l      [A5 - 0x2D8]
  2806. 00001EE0  A910                     syscall    GetWMgrPort
  2807. 00001EE2  286D FD28                movea.l    A4, [A5 - 0x2D8]
  2808. 00001EE6  3B6C 0016 FD14           move.w     [A5 - 0x2EC], [A4 + 0x16]
  2809. 00001EEC  286D FD28                movea.l    A4, [A5 - 0x2D8]
  2810. 00001EF0  3E2C 0014                move.w     D7, [A4 + 0x14]
  2811. 00001EF4  0447 0014                subi.w     D7, 0x14
  2812. 00001EF8  3B47 FD12                move.w     [A5 - 0x2EE], D7
  2813. 00001EFC  4CDF 1080                movem.l    D7,A4, [A7]+
  2814. 00001F00  4E5E                     unlink     A6
  2815. 00001F02  4E75                     rts
  2816. fn00001F04:
  2817. 00001F04  4E56 FFDE                link       A6, -0x0022
  2818. 00001F08  48E7 0308                movem.l    -[A7], D6,D7,A4
  2819. label00001F0C:
  2820. 00001F0C  4A6D FD2C                tst.w      [A5 - 0x2D4]
  2821. 00001F10  6600 00E2                bne        +0xE4 /* 00001FF4 */
  2822. 00001F14  A9B4                     syscall    SystemTask
  2823. 00001F16  4AAD FD2E                tst.l      [A5 - 0x2D2]
  2824. 00001F1A  6700 000A                beq        +0xC /* 00001F26 */
  2825. 00001F1E  2F2D FD2E                move.l     -[A7], [A5 - 0x2D2]
  2826. 00001F22  205F                     movea.l    A0, [A7]+
  2827. 00001F24  4E90                     jsr        [A0]
  2828. label00001F26:
  2829. 00001F26  558F                     subq.l     A7, 2
  2830. 00001F28  3F2D FD36                move.w     -[A7], [A5 - 0x2CA]
  2831. 00001F2C  486E FFF0                pea.l      [A6 - 0x10]
  2832. 00001F30  A970                     syscall    GetNextEvent
  2833. 00001F32  1E1F                     move.b     D7, [A7]+
  2834. 00001F34  1D47 FFDE                move.b     [A6 - 0x22], D7
  2835. 00001F38  4AAD FD32                tst.l      [A5 - 0x2CE]
  2836. 00001F3C  6700 001C                beq        +0x1E /* 00001F5A */
  2837. 00001F40  558F                     subq.l     A7, 2
  2838. 00001F42  49EE FFF0                lea.l      A4, [A6 - 0x10]
  2839. 00001F46  2F0C                     move.l     -[A7], A4
  2840. 00001F48  2F2D FD32                move.l     -[A7], [A5 - 0x2CE]
  2841. 00001F4C  205F                     movea.l    A0, [A7]+
  2842. 00001F4E  4E90                     jsr        [A0]
  2843. 00001F50  1E1F                     move.b     D7, [A7]+
  2844. 00001F52  1D47 FFE0                move.b     [A6 - 0x20], D7
  2845. 00001F56  4EFA 0006                jmp        [PC + 0x6 /* 00001F5E */]
  2846. label00001F5A:
  2847. 00001F5A  422E FFE0                clr.b      [A6 - 0x20]
  2848. label00001F5E:
  2849. 00001F5E  4A2E FFE0                tst.b      [A6 - 0x20]
  2850. 00001F62  57C7                     seq        D7
  2851. 00001F64  4407                     neg.b      D7
  2852. 00001F66  CE2E FFDE                and.b      D7, [A6 - 0x22]
  2853. 00001F6A  1D47 FFE2                move.b     [A6 - 0x1E], D7
  2854. 00001F6E  4AAD FD32                tst.l      [A5 - 0x2CE]
  2855. 00001F72  57C7                     seq        D7
  2856. 00001F74  4407                     neg.b      D7
  2857. 00001F76  8E2E FFE2                or.b       D7, [A6 - 0x1E]
  2858. 00001F7A  6700 000C                beq        +0xE /* 00001F88 */
  2859. 00001F7E  49EE FFF0                lea.l      A4, [A6 - 0x10]
  2860. 00001F82  2F0C                     move.l     -[A7], A4
  2861. 00001F84  4EBA FC46                jsr        [PC - 0x3BA /* 00001BCC */]
  2862. label00001F88:
  2863. 00001F88  1E2E FFDE                move.b     D7, [A6 - 0x22]
  2864. 00001F8C  0A07 0001                xori.b     D7, 0x1
  2865. 00001F90  6700 005E                beq        +0x60 /* 00001FF0 */
  2866. 00001F94  2D6D FD08 FFE8           move.l     [A6 - 0x18], [A5 - 0x2F8]
  2867. label00001F9A:
  2868. 00001F9A  4AAE FFE8                tst.l      [A6 - 0x18]
  2869. 00001F9E  6700 0050                beq        +0x52 /* 00001FF0 */
  2870. 00001FA2  286E FFE8                movea.l    A4, [A6 - 0x18]
  2871. 00001FA6  2854                     movea.l    A4, [A4]
  2872. 00001FA8  2D6C 002E FFEC           move.l     [A6 - 0x14], [A4 + 0x2E]
  2873. 00001FAE  286E FFE8                movea.l    A4, [A6 - 0x18]
  2874. 00001FB2  2854                     movea.l    A4, [A4]
  2875. 00001FB4  2D54 FFE4                move.l     [A6 - 0x1C], [A4]
  2876. 00001FB8  598F                     subq.l     A7, 4
  2877. 00001FBA  A924                     syscall    FrontWindow
  2878. 00001FBC  2E1F                     move.l     D7, [A7]+
  2879. 00001FBE  2C2E FFE4                move.l     D6, [A6 - 0x1C]
  2880. 00001FC2  BC87                     cmp.l      D6, D7
  2881. 00001FC4  57C7                     seq        D7
  2882. 00001FC6  4407                     neg.b      D7
  2883. 00001FC8  286E FFE8                movea.l    A4, [A6 - 0x18]
  2884. 00001FCC  2854                     movea.l    A4, [A4]
  2885. 00001FCE  1C2C 002D                move.b     D6, [A4 + 0x2D]
  2886. 00001FD2  0A06 0001                xori.b     D6, 0x1
  2887. 00001FD6  8C07                     or.b       D6, D7
  2888. 00001FD8  6700 000C                beq        +0xE /* 00001FE6 */
  2889. 00001FDC  A9B4                     syscall    SystemTask
  2890. 00001FDE  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  2891. 00001FE2  4EBA F988                jsr        [PC - 0x678 /* 0000196C */]
  2892. label00001FE6:
  2893. 00001FE6  2D6E FFEC FFE8           move.l     [A6 - 0x18], [A6 - 0x14]
  2894. 00001FEC  4EFA FFAC                jmp        [PC - 0x54 /* 00001F9A */]
  2895. label00001FF0:
  2896. 00001FF0  4EFA FF1A                jmp        [PC - 0xE6 /* 00001F0C */]
  2897. label00001FF4:
  2898. 00001FF4  426D FD2C                clr.w      [A5 - 0x2D4]
  2899. 00001FF8  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  2900. 00001FFC  4E5E                     unlink     A6
  2901. 00001FFE  4E75                     rts
  2902. fn00002000:
  2903. 00002000  4E56 0000                link       A6, 0
  2904. 00002004  48E7 0100                movem.l    -[A7], D7
  2905. 00002008  3B7C 0001 FD2C           move.w     [A5 - 0x2D4], 0x1
  2906. 0000200E  4CDF 0080                movem.l    D7, [A7]+
  2907. 00002012  4E5E                     unlink     A6
  2908. 00002014  4E75                     rts
  2909. fn00002016:
  2910. 00002016  4E56 0000                link       A6, 0
  2911. 0000201A  48E7 0108                movem.l    -[A7], D7,A4
  2912. label0000201E:
  2913. 0000201E  4AAD FD08                tst.l      [A5 - 0x2F8]
  2914. 00002022  6700 0012                beq        +0x14 /* 00002036 */
  2915. 00002026  286D FD08                movea.l    A4, [A5 - 0x2F8]
  2916. 0000202A  2854                     movea.l    A4, [A4]
  2917. 0000202C  2F14                     move.l     -[A7], [A4]
  2918. 0000202E  4EBA 0302                jsr        [PC + 0x302 /* 00002332 */]
  2919. 00002032  4EFA FFEA                jmp        [PC - 0x16 /* 0000201E */]
  2920. label00002036:
  2921. 00002036  4AAD FD16                tst.l      [A5 - 0x2EA]
  2922. 0000203A  6700 001A                beq        +0x1C /* 00002056 */
  2923. 0000203E  598F                     subq.l     A7, 4
  2924. 00002040  286D FD16                movea.l    A4, [A5 - 0x2EA]
  2925. 00002044  2854                     movea.l    A4, [A4]
  2926. 00002046  3F14                     move.w     -[A7], [A4]
  2927. 00002048  A949                     syscall    GetMenuHandle
  2928. 0000204A  2E1F                     move.l     D7, [A7]+
  2929. 0000204C  2F07                     move.l     -[A7], D7
  2930. 0000204E  4EBA 0090                jsr        [PC + 0x90 /* 000020E0 */]
  2931. 00002052  4EFA FFE2                jmp        [PC - 0x1E /* 00002036 */]
  2932. label00002056:
  2933. 00002056  4CDF 1080                movem.l    D7,A4, [A7]+
  2934. 0000205A  4E5E                     unlink     A6
  2935. 0000205C  4E75                     rts
  2936. fn0000205E:
  2937. 0000205E  4E56 FFF8                link       A6, -0x0008
  2938. 00002062  48E7 0118                movem.l    -[A7], D7,A3,A4
  2939. 00002066  422D FD1A                clr.b      [A5 - 0x2E6]
  2940. 0000206A  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  2941. 0000206E  4EBA 0070                jsr        [PC + 0x70 /* 000020E0 */]
  2942. 00002072  1B7C 0001 FD1A           move.b     [A5 - 0x2E6], 0x1
  2943. 00002078  598F                     subq.l     A7, 4
  2944. 0000207A  2F3C 0000 000E           move.l     -[A7], 0xE
  2945. 00002080  4EBA F19E                jsr        [PC - 0xE62 /* 00001220 */]
  2946. 00002084  2E1F                     move.l     D7, [A7]+
  2947. 00002086  2D47 FFF8                move.l     [A6 - 0x8], D7
  2948. 0000208A  2D6E FFF8 FFFC           move.l     [A6 - 0x4], [A6 - 0x8]
  2949. 00002090  286E FFFC                movea.l    A4, [A6 - 0x4]
  2950. 00002094  2854                     movea.l    A4, [A4]
  2951. 00002096  296D FD16 000A           move.l     [A4 + 0xA], [A5 - 0x2EA]
  2952. 0000209C  2B6E FFF8 FD16           move.l     [A5 - 0x2EA], [A6 - 0x8]
  2953. 000020A2  286E FFFC                movea.l    A4, [A6 - 0x4]
  2954. 000020A6  2854                     movea.l    A4, [A4]
  2955. 000020A8  266E 0010                movea.l    A3, [A6 + 0x10]
  2956. 000020AC  2653                     movea.l    A3, [A3]
  2957. 000020AE  3893                     move.w     [A4], [A3]
  2958. 000020B0  286E FFFC                movea.l    A4, [A6 - 0x4]
  2959. 000020B4  2854                     movea.l    A4, [A4]
  2960. 000020B6  296E 000C 0002           move.l     [A4 + 0x2], [A6 + 0xC]
  2961. 000020BC  286E FFFC                movea.l    A4, [A6 - 0x4]
  2962. 000020C0  2854                     movea.l    A4, [A4]
  2963. 000020C2  296E 0008 0006           move.l     [A4 + 0x6], [A6 + 0x8]
  2964. 000020C8  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  2965. 000020CC  4267                     clr.w      -[A7]
  2966. 000020CE  A935                     syscall    InsertMenu
  2967. 000020D0  A937                     syscall    DrawMenuBar
  2968. 000020D2  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  2969. 000020D6  4E5E                     unlink     A6
  2970. 000020D8  205F                     movea.l    A0, [A7]+
  2971. 000020DA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2972. 000020DE  4ED0                     jmp        [A0]
  2973. fn000020E0:
  2974. 000020E0  4E56 FFF0                link       A6, -0x0010
  2975. 000020E4  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  2976. 000020E8  286E 0008                movea.l    A4, [A6 + 0x8]
  2977. 000020EC  2854                     movea.l    A4, [A4]
  2978. 000020EE  3D54 FFFE                move.w     [A6 - 0x2], [A4]
  2979. 000020F2  422E FFF0                clr.b      [A6 - 0x10]
  2980. 000020F6  4AAD FD16                tst.l      [A5 - 0x2EA]
  2981. 000020FA  6700 00E2                beq        +0xE4 /* 000021DE */
  2982. 000020FE  286D FD16                movea.l    A4, [A5 - 0x2EA]
  2983. 00002102  2854                     movea.l    A4, [A4]
  2984. 00002104  3E14                     move.w     D7, [A4]
  2985. 00002106  BE6E FFFE                cmp.w      D7, [A6 - 0x2]
  2986. 0000210A  6600 0018                bne        +0x1A /* 00002124 */
  2987. 0000210E  2D6D FD16 FFFA           move.l     [A6 - 0x6], [A5 - 0x2EA]
  2988. 00002114  286E FFFA                movea.l    A4, [A6 - 0x6]
  2989. 00002118  2854                     movea.l    A4, [A4]
  2990. 0000211A  2B6C 000A FD16           move.l     [A5 - 0x2EA], [A4 + 0xA]
  2991. 00002120  4EFA 0078                jmp        [PC + 0x78 /* 0000219A */]
  2992. label00002124:
  2993. 00002124  2D6D FD16 FFF6           move.l     [A6 - 0xA], [A5 - 0x2EA]
  2994. label0000212A:
  2995. 0000212A  4AAE FFF6                tst.l      [A6 - 0xA]
  2996. 0000212E  56C7                     sne        D7
  2997. 00002130  4407                     neg.b      D7
  2998. 00002132  1C2E FFF0                move.b     D6, [A6 - 0x10]
  2999. 00002136  0A06 0001                xori.b     D6, 0x1
  3000. 0000213A  CC07                     and.b      D6, D7
  3001. 0000213C  6700 005C                beq        +0x5E /* 0000219A */
  3002. 00002140  286E FFF6                movea.l    A4, [A6 - 0xA]
  3003. 00002144  2854                     movea.l    A4, [A4]
  3004. 00002146  2D6C 000A FFFA           move.l     [A6 - 0x6], [A4 + 0xA]
  3005. 0000214C  4AAE FFFA                tst.l      [A6 - 0x6]
  3006. 00002150  6600 0010                bne        +0x12 /* 00002162 */
  3007. 00002154  42AE FFF6                clr.l      [A6 - 0xA]
  3008. 00002158  1D7C 0001 FFF0           move.b     [A6 - 0x10], 0x1
  3009. 0000215E  4EFA 0028                jmp        [PC + 0x28 /* 00002188 */]
  3010. label00002162:
  3011. 00002162  286E FFFA                movea.l    A4, [A6 - 0x6]
  3012. 00002166  2854                     movea.l    A4, [A4]
  3013. 00002168  3E14                     move.w     D7, [A4]
  3014. 0000216A  BE6E FFFE                cmp.w      D7, [A6 - 0x2]
  3015. 0000216E  6600 0018                bne        +0x1A /* 00002188 */
  3016. 00002172  286E FFF6                movea.l    A4, [A6 - 0xA]
  3017. 00002176  2854                     movea.l    A4, [A4]
  3018. 00002178  266E FFFA                movea.l    A3, [A6 - 0x6]
  3019. 0000217C  2653                     movea.l    A3, [A3]
  3020. 0000217E  296B 000A 000A           move.l     [A4 + 0xA], [A3 + 0xA]
  3021. 00002184  42AE FFF6                clr.l      [A6 - 0xA]
  3022. label00002188:
  3023. 00002188  4AAE FFF6                tst.l      [A6 - 0xA]
  3024. 0000218C  6700 0008                beq        +0xA /* 00002196 */
  3025. 00002190  2D6E FFFA FFF6           move.l     [A6 - 0xA], [A6 - 0x6]
  3026. label00002196:
  3027. 00002196  4EFA FF92                jmp        [PC - 0x6E /* 0000212A */]
  3028. label0000219A:
  3029. 0000219A  1E2E FFF0                move.b     D7, [A6 - 0x10]
  3030. 0000219E  0A07 0001                xori.b     D7, 0x1
  3031. 000021A2  6700 003A                beq        +0x3C /* 000021DE */
  3032. 000021A6  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  3033. 000021AA  A936                     syscall    DeleteMenu
  3034. 000021AC  A937                     syscall    DrawMenuBar
  3035. 000021AE  286E FFFA                movea.l    A4, [A6 - 0x6]
  3036. 000021B2  2854                     movea.l    A4, [A4]
  3037. 000021B4  2D6C 0006 FFF2           move.l     [A6 - 0xE], [A4 + 0x6]
  3038. 000021BA  4AAE FFF2                tst.l      [A6 - 0xE]
  3039. 000021BE  56C7                     sne        D7
  3040. 000021C0  4407                     neg.b      D7
  3041. 000021C2  CE2D FD1A                and.b      D7, [A5 - 0x2E6]
  3042. 000021C6  6700 000E                beq        +0x10 /* 000021D6 */
  3043. 000021CA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3044. 000021CE  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  3045. 000021D2  205F                     movea.l    A0, [A7]+
  3046. 000021D4  4E90                     jsr        [A0]
  3047. label000021D6:
  3048. 000021D6  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  3049. 000021DA  4EBA F050                jsr        [PC - 0xFB0 /* 0000122C */]
  3050. label000021DE:
  3051. 000021DE  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  3052. 000021E2  4E5E                     unlink     A6
  3053. 000021E4  2E9F                     move.l     [A7], [A7]+
  3054. 000021E6  4E75                     rts
  3055. fn000021E8:
  3056. 000021E8  4E56 FE00                link       A6, -0x0200
  3057. 000021EC  48E7 0118                movem.l    -[A7], D7,A3,A4
  3058. 000021F0  286E 000C                movea.l    A4, [A6 + 0xC]
  3059. 000021F4  47EE FF00                lea.l      A3, [A6 - 0x100]
  3060. 000021F8  3E3C 00FF                move.w     D7, 0xFF
  3061. label000021FC:
  3062. 000021FC  16DC                     move.b     [A3]+, [A4]+
  3063. 000021FE  51CF FFFC                dbf        D7, -0x6 /* 000021FC */
  3064. 00002202  3D7A 0090 FE00           move.w     [A6 - 0x200], [PC + 0x90 /* 00002294, value 0x120 */]
  3065. 00002208  1D7C 0014 FE01           move.b     [A6 - 0x1FF], 0x14
  3066. 0000220E  3B7C 0001 FD20           move.w     [A5 - 0x2E0], 0x1
  3067. 00002214  598F                     subq.l     A7, 4
  3068. 00002216  3F2D FD20                move.w     -[A7], [A5 - 0x2E0]
  3069. 0000221A  486E FE00                pea.l      [A6 - 0x200]
  3070. 0000221E  A931                     syscall    NewMenu
  3071. 00002220  2E1F                     move.l     D7, [A7]+
  3072. 00002222  2B47 FD1C                move.l     [A5 - 0x2E4], D7
  3073. 00002226  4247                     clr.w      D7
  3074. 00002228  1E2E FF00                move.b     D7, [A6 - 0x100]
  3075. 0000222C  3F07                     move.w     -[A7], D7
  3076. 0000222E  486E FF01                pea.l      [A6 - 0xFF]
  3077. 00002232  3F3C 0000                move.w     -[A7], 0x0
  3078. 00002236  487A 005C                pea.l      [PC + 0x5C /* 00002294, value 0x1204E56 */]
  3079. 0000223A  4EBA EF7E                jsr        [PC - 0x1082 /* 000011BA */]
  3080. 0000223E  6700 0022                beq        +0x24 /* 00002262 */
  3081. 00002242  1B7C 0001 FD26           move.b     [A5 - 0x2DA], 0x1
  3082. 00002248  2F2D FD1C                move.l     -[A7], [A5 - 0x2E4]
  3083. 0000224C  486E FF00                pea.l      [A6 - 0x100]
  3084. 00002250  A933                     syscall    AppendMenu
  3085. 00002252  2F2D FD1C                move.l     -[A7], [A5 - 0x2E4]
  3086. 00002256  487A 0038                pea.l      [PC + 0x38 /* 00002290, value 0x2282D00, pstring "(-" */]
  3087. 0000225A  A933                     syscall    AppendMenu
  3088. 0000225C  2B6E 0008 FD22           move.l     [A5 - 0x2DE], [A6 + 0x8]
  3089. label00002262:
  3090. 00002262  2F2D FD1C                move.l     -[A7], [A5 - 0x2E4]
  3091. 00002266  2F3A 0024                move.l     -[A7], [PC + 0x24 /* 0000228C, value 0x44525652 'DRVR' */]
  3092. 0000226A  A94D                     syscall    AppendResMenu/AddResMenu
  3093. 0000226C  2F2D FD1C                move.l     -[A7], [A5 - 0x2E4]
  3094. 00002270  49FA F45E                lea.l      A4, [PC - 0xBA2 /* 000016D0, value 0x4E56FEFA */]
  3095. 00002274  2F0C                     move.l     -[A7], A4
  3096. 00002276  49FA F4BA                lea.l      A4, [PC - 0xB46 /* 00001732, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3097. 0000227A  2F0C                     move.l     -[A7], A4
  3098. 0000227C  4EBA FDE0                jsr        [PC - 0x220 /* 0000205E */]
  3099. 00002280  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  3100. 00002284  4E5E                     unlink     A6
  3101. 00002286  205F                     movea.l    A0, [A7]+
  3102. 00002288  508F                     addq.l     A7, 8
  3103. 0000228A  4ED0                     jmp        [A0]
  3104. 0000228C  4452                     neg.w      [A2]
  3105. 0000228E  5652                     addq.w     [A2], 3
  3106. 00002290  0228 2D00 0120           andi.b     [A0 + 0x120], 0x0
  3107. fn00002296:
  3108. 00002296  4E56 FFFC                link       A6, -0x0004
  3109. 0000229A  48E7 0108                movem.l    -[A7], D7,A4
  3110. 0000229E  422D FD0C                clr.b      [A5 - 0x2F4]
  3111. 000022A2  2F2E 0026                move.l     -[A7], [A6 + 0x26]
  3112. 000022A6  4EBA 008A                jsr        [PC + 0x8A /* 00002332 */]
  3113. 000022AA  1B7C 0001 FD0C           move.b     [A5 - 0x2F4], 0x1
  3114. 000022B0  598F                     subq.l     A7, 4
  3115. 000022B2  2F3C 0000 0032           move.l     -[A7], 0x32 /* '2' */
  3116. 000022B8  4EBA EF66                jsr        [PC - 0x109A /* 00001220 */]
  3117. 000022BC  2E1F                     move.l     D7, [A7]+
  3118. 000022BE  2D47 FFFC                move.l     [A6 - 0x4], D7
  3119. 000022C2  286E FFFC                movea.l    A4, [A6 - 0x4]
  3120. 000022C6  2854                     movea.l    A4, [A4]
  3121. 000022C8  296D FD08 002E           move.l     [A4 + 0x2E], [A5 - 0x2F8]
  3122. 000022CE  2B6E FFFC FD08           move.l     [A5 - 0x2F8], [A6 - 0x4]
  3123. 000022D4  286E FFFC                movea.l    A4, [A6 - 0x4]
  3124. 000022D8  2854                     movea.l    A4, [A4]
  3125. 000022DA  28AE 0026                move.l     [A4], [A6 + 0x26]
  3126. 000022DE  296E 0022 0008           move.l     [A4 + 0x8], [A6 + 0x22]
  3127. 000022E4  296E 001E 000C           move.l     [A4 + 0xC], [A6 + 0x1E]
  3128. 000022EA  296E 001A 0010           move.l     [A4 + 0x10], [A6 + 0x1A]
  3129. 000022F0  296E 0016 0014           move.l     [A4 + 0x14], [A6 + 0x16]
  3130. 000022F6  296E 0012 0018           move.l     [A4 + 0x18], [A6 + 0x12]
  3131. 000022FC  296E 000E 0004           move.l     [A4 + 0x4], [A6 + 0xE]
  3132. 00002302  296E 000A 001C           move.l     [A4 + 0x1C], [A6 + 0xA]
  3133. 00002308  196E 0008 002D           move.b     [A4 + 0x2D], [A6 + 0x8]
  3134. 0000230E  422C 002C                clr.b      [A4 + 0x2C]
  3135. 00002312  296D FD0E 0024           move.l     [A4 + 0x24], [A5 - 0x2F2]
  3136. 00002318  296D FD12 0028           move.l     [A4 + 0x28], [A5 - 0x2EE]
  3137. 0000231E  2F2E 0026                move.l     -[A7], [A6 + 0x26]
  3138. 00002322  A873                     syscall    SetPort
  3139. 00002324  4CDF 1080                movem.l    D7,A4, [A7]+
  3140. 00002328  4E5E                     unlink     A6
  3141. 0000232A  205F                     movea.l    A0, [A7]+
  3142. 0000232C  4FEF 0022                lea.l      A7, [A7 + 0x22]
  3143. 00002330  4ED0                     jmp        [A0]
  3144. fn00002332:
  3145. 00002332  4E56 FFF6                link       A6, -0x000A
  3146. 00002336  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  3147. 0000233A  4AAD FD08                tst.l      [A5 - 0x2F8]
  3148. 0000233E  6700 00C6                beq        +0xC8 /* 00002406 */
  3149. 00002342  422E FFF6                clr.b      [A6 - 0xA]
  3150. 00002346  286D FD08                movea.l    A4, [A5 - 0x2F8]
  3151. 0000234A  2854                     movea.l    A4, [A4]
  3152. 0000234C  2E14                     move.l     D7, [A4]
  3153. 0000234E  BEAE 0008                cmp.l      D7, [A6 + 0x8]
  3154. 00002352  6600 0018                bne        +0x1A /* 0000236C */
  3155. 00002356  2D6D FD08 FFFC           move.l     [A6 - 0x4], [A5 - 0x2F8]
  3156. 0000235C  286D FD08                movea.l    A4, [A5 - 0x2F8]
  3157. 00002360  2854                     movea.l    A4, [A4]
  3158. 00002362  2B6C 002E FD08           move.l     [A5 - 0x2F8], [A4 + 0x2E]
  3159. 00002368  4EFA 0078                jmp        [PC + 0x78 /* 000023E2 */]
  3160. label0000236C:
  3161. 0000236C  2D6D FD08 FFF8           move.l     [A6 - 0x8], [A5 - 0x2F8]
  3162. label00002372:
  3163. 00002372  4AAE FFF8                tst.l      [A6 - 0x8]
  3164. 00002376  56C7                     sne        D7
  3165. 00002378  4407                     neg.b      D7
  3166. 0000237A  1C2E FFF6                move.b     D6, [A6 - 0xA]
  3167. 0000237E  0A06 0001                xori.b     D6, 0x1
  3168. 00002382  CC07                     and.b      D6, D7
  3169. 00002384  6700 005C                beq        +0x5E /* 000023E2 */
  3170. 00002388  286E FFF8                movea.l    A4, [A6 - 0x8]
  3171. 0000238C  2854                     movea.l    A4, [A4]
  3172. 0000238E  2D6C 002E FFFC           move.l     [A6 - 0x4], [A4 + 0x2E]
  3173. 00002394  4AAE FFFC                tst.l      [A6 - 0x4]
  3174. 00002398  6600 0010                bne        +0x12 /* 000023AA */
  3175. 0000239C  42AE FFF8                clr.l      [A6 - 0x8]
  3176. 000023A0  1D7C 0001 FFF6           move.b     [A6 - 0xA], 0x1
  3177. 000023A6  4EFA 0028                jmp        [PC + 0x28 /* 000023D0 */]
  3178. label000023AA:
  3179. 000023AA  286E FFFC                movea.l    A4, [A6 - 0x4]
  3180. 000023AE  2854                     movea.l    A4, [A4]
  3181. 000023B0  2E14                     move.l     D7, [A4]
  3182. 000023B2  BEAE 0008                cmp.l      D7, [A6 + 0x8]
  3183. 000023B6  6600 0018                bne        +0x1A /* 000023D0 */
  3184. 000023BA  286E FFF8                movea.l    A4, [A6 - 0x8]
  3185. 000023BE  2854                     movea.l    A4, [A4]
  3186. 000023C0  266E FFFC                movea.l    A3, [A6 - 0x4]
  3187. 000023C4  2653                     movea.l    A3, [A3]
  3188. 000023C6  296B 002E 002E           move.l     [A4 + 0x2E], [A3 + 0x2E]
  3189. 000023CC  42AE FFF8                clr.l      [A6 - 0x8]
  3190. label000023D0:
  3191. 000023D0  4AAE FFF8                tst.l      [A6 - 0x8]
  3192. 000023D4  6700 0008                beq        +0xA /* 000023DE */
  3193. 000023D8  2D6E FFFC FFF8           move.l     [A6 - 0x8], [A6 - 0x4]
  3194. label000023DE:
  3195. 000023DE  4EFA FF92                jmp        [PC - 0x6E /* 00002372 */]
  3196. label000023E2:
  3197. 000023E2  1E2E FFF6                move.b     D7, [A6 - 0xA]
  3198. 000023E6  0A07 0001                xori.b     D7, 0x1
  3199. 000023EA  6700 001A                beq        +0x1C /* 00002406 */
  3200. 000023EE  4A2D FD0C                tst.b      [A5 - 0x2F4]
  3201. 000023F2  6700 000A                beq        +0xC /* 000023FE */
  3202. 000023F6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3203. 000023FA  4EBA F52A                jsr        [PC - 0xAD6 /* 00001926 */]
  3204. label000023FE:
  3205. 000023FE  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3206. 00002402  4EBA EE28                jsr        [PC - 0x11D8 /* 0000122C */]
  3207. label00002406:
  3208. 00002406  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  3209. 0000240A  4E5E                     unlink     A6
  3210. 0000240C  2E9F                     move.l     [A7], [A7]+
  3211. 0000240E  4E75                     rts
  3212.